Lance,

Probably I should have told you without making you ask.

It is simple. ExtraHtml : 'return functionCall()'. Inside functionCall(),
after finishing whatever you want to do, put 'return fase;'. That will do
it.

Regards,

Aby


> -----Original Message-----
> From: Lance Cannon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 14, 1999 2:15 PM
> To: 'Aby Mathew '
> Subject: RE: [ND] Turning off submit when using 
> 'window.open()' in Href
> 
> 
> Thanks for the reply,
> 
> You are correct in that the 'return false' will stop the page 
> from going forward.  The problem is, if I put 'return false' 
> in the 'onClick' event, I can't put the call to the java 
> function in this event as well (also, I can't put 'return 
> false' in the function I call as this does not seem to work).  
> 
> I need to be able to either do a 'window.open()' in a 
> function I call from the 'onClick' event.  In this function, 
> I will parse out 'currRowNumber' from 'this' and get the row 
> number of the row clicked.
> 
> If you can tell me syntax to put two commands (i.e. 
> 'functionCall()' & 'return false') in the 'onClick' and have 
> the both execute correctly that would be my ideal solution.
> 
> Thanks,
> 
> Lance Cannon
> [EMAIL PROTECTED]
> 
> 
> 
> -----Original Message-----
> From: Aby Mathew
> To: 'Lance Cannon'; [EMAIL PROTECTED]; 
> '[EMAIL PROTECTED]'
> Sent: 12/14/99 10:46 AM
> Subject: RE: [ND] Turning off submit when using 
> 'window.open()' in Href
> 
> 
> Put onClick="return false"
> in the ExtraHtml property of the href field.
> 
> Aby, TeamND
> 
> 
> > -----Original Message-----
> > From: Lance Cannon [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > Sent: Tuesday, December 14, 1999 9:09 AM
> > To: [EMAIL PROTECTED]
> > Subject: [ND] Turning off submit when using 'window.open()' in Href
> >
> >
> >
> > Hello all,
> >
> > I am using an Href execute a javascript
> >  function and open a top window.  Per an
> > excercise in the NetDynamics Training, I
> > put "onSubmit='return false'" in the 'extra
> > html' of the page.  This keeps the bottom
> > page from continuing to process when the top
> > page loads (i.e., turns off the form submit).
> >
> > My problem is this:  This works fine for a
> > button, but for an Href it doesn't work (I
> > am assuming b/c a Href is not a form
> > submit).  Does anyone know how to stop the
> > bottom page from processing when using an
> > Href?
> >
> > Thanks,
> >
> > Lance Cannon
> > [EMAIL PROTECTED]
> >
> > ______________________________________________________________
> > ___________
> >
> > For help in using, subscribing, and unsubscribing to the discussion
> > forums, please go to:
> > http://www.netdynamics.com/support/visitdevfor
> <http://www.netdynamics.com/support/visitdevfor> .> html
> >
> > For dire
> > need help, email: [EMAIL PROTECTED]
> > 
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to