You are not really taking advantage of jQuery.. and document.write()
calls that are not present on page load will always clear the page.
You can simply do:
$(document).ready(function(){
//$('#jt').after(''); //insert the script, but this would clear the page too
$('#jt').after('I am her
Just to be clearer, you can't use document.write() after the page is
already loaded.
- ricardo
On Oct 18, 3:09 pm, jt <[EMAIL PROTECTED]> wrote:
> I'd like to load a js file into a specific location but it replaces
> the page with what is being written out. I suspect there's a fairly
> obvious a
2 matches
Mail list logo