Couldn't you just do the post and grab the resulting XML and drop it as the content of a new window?
pseudo-code:
$.post(data, url, function(xml){
//open window
//window contents set to xml
});
On 9/1/06, Francisco Brito <[EMAIL PROTECTED]> wrote:
I'm sorry, I was writing pseudo-code.
I'm having an issue in Internet Explorer with the new jQuery 1.0 and event handling. I have a button which I dynamically add an event to (being used as a folder browser). The problem is in IE the button event fires twice, so if I'm two directories down, it goes up two directories on click inste
I'm having an issue in Internet Explorer with the new jQuery 1.0 and event handling. I have a button which I dynamically add an event to (being used as a folder browser). The problem is in IE the button event fires twice, so if I'm two directories down, it goes up two directories on click instead
Try:
$("main",xml).html()
instead of:
$("main",xml).text()
On 8/25/06, Sam Sherlock <[EMAIL PROTECTED]> wrote:
the dynamic xml source creates a structure along the following lines my title
about
the jquery code that I am using to take load the xml source and tak
You reattach it the same way you attack it the first time. Because you're going to be rebinding, move the stuff in the first bind (where you bind the submit action) into it's own function (outside of the $(document).ready() function, only put stuff there that you want firing when the page loads).
First off, $(document).ready() only fires once. When the document is first ready.
Second, if you have events on a dom object, and create an identical dom object, you need to reattach the events to this new dom object when it's created (or really, whenever) for the events to fire.
I don't even r
Not sure if I completely understand the question here. Can you give an example of the HTML? Are you talking:
Stuff
And hide child when you mouse off unless still over parent? If that's the case, wouldn't it make more sense to:
$("#parent").hover(function(){ $("#child").show(); },func
Just put the submenu tags within the parent menu tag. That way, being over the sub menu means you ARE over the parent menu (because it will expand to contain the sub menu).
On 8/9/06, Acuff, Daniel (Comm Lines, PAC) <[EMAIL PROTECTED]> wrote:
Anyone know how to test if the mouse is over an ID a
Thickbox does some initialization on links. You'll need to redo this after getting your link from ajax, because the events won't have been attached to your new link.
You should be able to recall the thickbox setup function in the ajax callback procedure. (I believe it's something like TB_Setup(