[jQuery] How to replace a div content?

2008-07-07 Thread SimDigital
How could i replace a html content inside the div? I have 1 div (ini text) and everytime i click a button, i want to replace the html content inside the #ELEM to new one. I try to use: jQuery("#button").click(function() { jQuery("#elem").html('my text'); }); but everytime i click the b

[jQuery] parent window

2008-04-28 Thread SimDigital
How could i call an element in "parent.window" ? Sample: window1 window2 function sampletext() { parent.window.#sample.text("Some new text."); } click here to change the content of div SAMPLE I dont know how to select an element in parent window.

[jQuery] Need to hide all elements

2007-06-26 Thread SimDigital
I need to hide all html elements inside , except a div named content, but don't know how to do that. Example original content: My Slogan Full text about my site After transform: My Slogan Full text about my site Then i could transform again and the original content bring back. Somebod

[jQuery] Thickbox opening twice

2007-04-18 Thread SimDigital
I have this: >> index.php $(document).ready(function() { $("#find").click(function(){ // it do a search into search.php and return the content $.post("http://localhost/search.php";, { q: $ ("#frmBusiness").val(), ci

[jQuery] Re: How to apply thickbox effect to a loaded ajax content?

2007-04-17 Thread SimDigital
But i'm using into initial document. On 17 abr, 20:37, Olaf Bosch <[EMAIL PROTECTED]> wrote: > SimDigital schrieb: > > > But thickbox effect doesn't work... i'm beeing redirected to > > teste.html and the window doesn't op

[jQuery] Loading Thickbox from Ajax Content Link

2007-04-17 Thread SimDigital
Hi. I'm trying to load thickbox from ajax content link, but it isn't working. I have tried to include thickbox.js into Ajax Content Page, but after this the windows loaded twice with the same content and one bellow another. I try to add TB_Init() call to the end of the ajax page, i solve one pro

[jQuery] How to apply thickbox effect to a loaded ajax content?

2007-04-17 Thread SimDigital
I need to keeping applying Thickbox effect to a ajax content like bellow: Before click on button to load ajax content: ... $("#loadhere").load('http://localhost/test/moreinfo.php?id=1'); After loaded content, i got it in me