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).

It doesn't make a difference. Both can be used. Are you facing problems with any of the above mentioned approaches?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.