944,014 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 1316
  • JSP RSS
Jun 4th, 2007
0

javascript &JSP

Expand Post »
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).
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
JSP_javascript is offline Offline
1 posts
since Jun 2007
Jun 4th, 2007
0

Re: javascript &JSP

It doesn't make a difference. Both can be used. Are you facing problems with any of the above mentioned approaches?
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 720
Failure as a human
~s.o.s~ is offline Offline
8,872 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: help me
Next Thread in JSP Forum Timeline: Uploading file on server side





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC