Dear all,
I have a html file with a submit button and a div element.
I load the <div id="someid"> element with a table on button click event -
as follows:
(I omit the button click event wrapper for brevity).
$('#someid').load('target_script', {'a':1}, function(data){
$('tr').css('backgroundColor', '#feefee');
});
I am using cherrypy webframework and the "target_script" is accessible via
web interface only. ie., it is not a file, but a runtime method emulating
like a target script to execute.
So I use full url for the target script ie .,
http://localhost:8080/~user/target_script<http://localhost:8080/%7Euser/target_script>and
i get the table returned from the runtime target_script.
all works fine. but after the table gets displayed on the index.html page,
the source html does not show the injected table. I would like to process
the table after it got injected into the index.html file.
Could someone suggest me if anything wrong ?
thanks
Krishna.