View Single Post
  #2 (permalink)  
Old 05-11-2007, 06:11 PM
sandor sandor is offline
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
Just curious what this section is doing?
Code:
if (check) { var r = confirm("<bean:messag key="alert.msg.publisher.confirm.publish"/>") if (r) { document.ResearchPaperForm.submit(); } else { check = false; } }
If check is already true at that point why not just submit? What is if(r) doing?
My best method to troubleshoot jasvascript is just put alerts in there as an attempt to step thru the code.
Reply With Quote