javascript &JSP

Reply

Join Date: Jun 2007
Posts: 1
Reputation: JSP_javascript is an unknown quantity at this point 
Solved Threads: 0
JSP_javascript JSP_javascript is offline Offline
Newbie Poster

javascript &JSP

 
0
  #1
Jun 4th, 2007
In a JSP file I have this:

<script language="JavaScript" src="cookies.js">
</script>

<Form …….>

<INPUT type="text" class="kar3" tabindex="1" MAXLENGTH="3" size="3" value='<%=fr4021a.getFrvbekd()%>' name="frvbekd" onBlur="document.forms[0].frvbekd.value=document.forms[0].frvbekd.value.t oU pperCase();document.forms[0].action='fr4021a.jsp?element=2';document.f orms[0].submit();" onFocus="displayVeldHelp('0');">

</form>

How can I add the javascrit function Save_field( this) tot the element
<Input ……..> or <Form …..> aanroepen.

Must I use this:
save_field(this);

Or this:

javascrit: save_field(this).
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,609
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 464
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: javascript &JSP

 
0
  #2
Jun 4th, 2007
It doesn't make a difference. Both can be used. Are you facing problems with any of the above mentioned approaches?
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC