I am currently utilizing Prototype within the pylons framework and attempting to execute an Ajax call.
Below is the structure of my html:
<form method="POST" action = "javascript:void(0)" onsubmit = "new Ajax.Updater('graph','/saffron_main/click_out_display'); ">
<label for="tids">Select Relevant Tids</label>
<select id="tids" multiple="multiple" name="tids" title="Tids">
<option>1</option>
<option>2</option>
</select>
<p><input class = "button" type="submit" name="submit" value="submit" /></p>
</form>
<div id = "graph">
</div>
Although I can confirm that the controller is being accessed and a http request is sent to /saffron_main/click_out_display, I am facing an issue where the div remains empty. It's been quite a challenge trying to troubleshoot this problem, so any assistance would be greatly appreciated! Thank you!