about ajax To get only specific element from given page:

EzGenerator V4 forum

Return to “Ezgenerator v4 Customer Forum”

[You can only see part of this thread as you are not logged in to the forums]
mantoin
Thu Dec 12, 2013 6:20 pm

x

about ajax To get only specific element from given page:

Hi,

there is an very interessant option
http://www.ezgenerator.com/howto.php?ca ... ery%2FAjax

but I think it is not working
so I created a first php page with a div, inside an editable area (with macro)
ID div = output

I created an second html page named test2
inside 1 ) I insert Htlm area with inside this code
<script type="text/javascript">
$(document).ready(function(){$.ajax({url: "../test/test.php",success: function(data){var dt=$(data).find("<em><#output></em>").html(); $("#output1").html(dt);}});});
</script>
2) I insert a DIV under point 1 with DIV ID= output1

I got a error message

what have I do wrong ?

marc








Return to “Ezgenerator v4 Customer Forum”