I have the javascript code that ONCLICK retrieves text from another PHP file and Puts it in DIV. The main code works, but I need to ADD retrieved text to Div content. Instead of that, it´s replacing content of DIV with retrieved text.
$.post("getdata/some.php",{partialStates:option.value},function(data){
$("#some").html(data);
Div id=some
Thanks in advance.
append()or retrieve the html first, add your data, then set it?