jamesdean666
asked on
ASP.NET / JQUERY - Pass value to dialog
I am a newbie to JQuery. I have the following code in my global JQuery page - global.js.
$(".documentor").live("cli ck", function () {
childDialog("/common/Helpf ulHints.as px?q=" + $(this).attr("id"), "Add New Documentation " + " - " + $(this).attr("id").replace ("_", " "), 500, 450, parent.main);
I want to pass a value from any page the user is currently on (that calls childDialog) to the Dialog page - /common/HelpfulHints.aspx
For example, I would like to pass the value of alert($(this).attr("id") or escape(document.location.p athname)) to a TextBox (txtHHElementID) on /common/HelpfulHints.aspx
How is this done?
$(".documentor").live("cli
childDialog("/common/Helpf
I want to pass a value from any page the user is currently on (that calls childDialog) to the Dialog page - /common/HelpfulHints.aspx
For example, I would like to pass the value of alert($(this).attr("id") or escape(document.location.p
How is this done?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
Looks ok to me except .live() is deprecated.
I would format the code better
Open in new window