Dynamic data insert into a plain content Div and jquery Mobile
I need a little Help with a call to add content dynamically.
I'm trying to load a page that dymanically generates a table into a div with jquery mobile:
Taking the date value from the datepicker and I have a routine to generate the url:
<div data-role="content">
<form action="" method="post" onsubmit="javascript:getData(this);" >
<div data-role="fieldcontain">
<input type="date" name="eventdate" id="eventdate1" value="" style="display:none;" />
<button type="submit" data-theme="b" name="submit" value="submit-value">Submit</button>
</div>
</form>
<div id="theevent_data">
<p>the event data<
p>
</div>
</div>
in getData() and trying to retrieve the result and insert it in "theevent_data"
But no combination seems to work.
Any help on syntax for a call to do this would be very appreciated.
Regards, Andy