PDA

View Full Version : ajax update form fields



esthera
03-02-2009, 07:16 AM
I have


$("#buyprice").load("ajaxloadbuyprice.asp?itemid=<%=request("itemid") %>", { 'foo': 'bar' } );

and this reloads every second -
How can I add a line here to update the form fields of buyprice = to the same result?

A1ien51
03-02-2009, 03:51 PM
$("#id1, #id2").load(.....);

Eric

A1ien51
03-02-2009, 03:52 PM
Also in the future it would be helpful to posters here if you mentioned what library you are using.

Eric