I have got a working example, but now I need to add something, and I
am not sure how to do it.
I have a function:
<script type="text/javascript" language="JavaScript">
function getAdjForm() {
var params = Form.serialize($('createAdjForm'));
new Ajax.Updater(
"adjForm",
"/link/to/somewhere",
{method:'post',
parameters: params});
}
</script>
My HTML
<select name="adjType" id="adjType" onChange="getAdjForm()">
.........//Lots of options listed
</select>
.
.
.
More HTML
.
.
.
<div id="adjForm">
</div>
This works, and my text appears inside the <div id="adjForm">
</div>. My problem is where I have the more HTML code, I need to have
dynamic text appear there as well, but it is based on the same logic.
Is there a way to do this w/o calling a second url in my function?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---