[jQuery] Re: putting value to html from a php script

2007-08-24 Thread Michael Lo
it won't work the right way is $.get(totals.php,function(data){ $(#targetDiv).html(data); }); ^.^ Michael On 8/24/07, Glen Lipka [EMAIL PROTECTED] wrote: I am not totally sure how get() works. (Im lame) However, I am pretty sure load() works for you in this case. Like:

[jQuery] Re: $.load(url) and IE fails to find CSS/JS

2007-08-24 Thread Michael Lo
Try this $.get('page.html',function(data){ ($('#target').html(data); }); Michael On 8/24/07, John Napiorkowski [EMAIL PROTECTED] wrote: --- polyrhythmic [EMAIL PROTECTED] wrote: John, What version of jQuery are you running? And what are your browser versions? Also, style tags

[jQuery] use $getScript load .js multiple time

2007-08-23 Thread Michael Lo
Dear Friend: I use $getScript to load some .js and include another html into my div code like $(#news1).bind(click,function(){ $.getScript(/admin_css/includeme0.js); $.get(/myadmin/query.xhtml?r=disw=chkandreplacepage=news,function(data){ $(#showhere).show(slow).html(data);

[jQuery] Re: some javascript function on some.html won't work

2007-08-21 Thread Michael Lo
in its own right, ie that it is a full document. IF you are trying to inject a full document into the DOM under the 'somediv' DIV then it would not be surprising if some functionality failed. Michael Lo wrote: Dear all: can some one help why sometime i load some html like $(somediv

[jQuery] some javascript function on some.html won't work

2007-08-19 Thread Michael Lo
Dear all: can some one help why sometime i load some html like $(somediv).show(slow).load(some.html); some javascript function on some.html won't work but it will work when call it alone? Thanks!! Michael