I'm trying to make my fields on the NB webpage live rather than having to hit a submit button each time. I found I can use the 'onChange' tag as shown below that will call a javascript function whenever the value for the field changes, which is perfect.
I now want to use that javascript function to programmatically hit the submit button. Below is the modified HtmlFormPost example with what I'm trying to do. I know html a bit better than javascript, so I'd prefer leaving all my actual forms in html rather than convert the entire thing to javascript. I just want to use javascript to post the form.
/edit.. Woops, read the first line on making your fields on the NB webpage live. That would be great for ajax. As for the submit button, not sure if ajax handles this.
That's one of the exact pages I was looking at last night Bill. Wasn't having luck getting it to work, I'm much more of a C guy here though so not sure yet why that didn't work...
I've tried a couple variations on the page you mentioned and then tried the following from a different page below. I have a multi-part form, so the field I'm testing with is part of "form5".
<SCRIPT TYPE="text/javascript">
<!--
function submitchange(value)
{
I had that in one of the versions I was testing last night... question is what should the "action" be? I assume somewhere I need to set it to be "post"?
In the html area for the form I have:
<form action="form5" method=post> which looks similar enough to confuse me....