Hi all, i've managed to write the code to update one div after an ajax success call by using success: function(response){ $("#diva").html(response);}
I now have several div's i would like to selectively update depending on the response back from the ajax call. How can i do that? do i have to write if statement for everyone of them ? or would it be possible to store the div's id inside a variable ? but then i dont know how the syntax to select a div whose name is stored inside a variable. if anything is unclear, please let me know look forward to hearing your answers -- View this message in context: http://www.nabble.com/Multiple-divs-using-one-ajax-function-tf3039019.html#a8446281 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/