Bob Schneider
asked on
Get Pop-Up Or Div Info Box From JQuery DataTable Cell in ASP
I have a page here that has links on the first name of each finisher. I want to have that link show an info box of that persons complete race data when clicked on.
I have a similar situation here on the old non-jquery/datatable results page that did exactly what I want it to do but it gathers all the information from all finishers in advance. Further, since it is not a jquery page I don't know how to get the link to pop up.
Thanks to help on this forum, I have created a link (IndRslts(2, i) = "<a href='javascript:pop(my_da ta.asp,400 ,600)' class='runnerName'>" & Replace(IndRslts(2, i), """", "") & "</a>") in my server code but I don't know how to make it display the page when the name is clicked on.
I would like to avoid an alert-type message, but have a div that opened like on the old results page. Just not sure how to process all of this and how to grab the info from just the link clicked on.
I hope this makes sense. Thanks to this forum, I am learning a lot and just about have this page where I want it.
I have a similar situation here on the old non-jquery/datatable results page that did exactly what I want it to do but it gathers all the information from all finishers in advance. Further, since it is not a jquery page I don't know how to get the link to pop up.
Thanks to help on this forum, I have created a link (IndRslts(2, i) = "<a href='javascript:pop(my_da
I would like to avoid an alert-type message, but have a div that opened like on the old results page. Just not sure how to process all of this and how to grab the info from just the link clicked on.
I hope this makes sense. Thanks to this forum, I am learning a lot and just about have this page where I want it.
ASKER
Yes that is what I want. Thanks for clarifying what is actually going on...window v pop-up.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. The dialog widget looks like exactly what I am looking for. The next bridge to cross is how to get my asp data that will populate it and then get it to appear "on click"? Can I build a call to an asp function that executes and pulls the data and then populates the dialog with it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very, very much!
You are most welcome.
The function pop, on both pages, is defined as
Open in new window
This is not a div popup - it opens a new window.
Can you clarify what you want to do here?
Both pages seem to open a new window - I am correct in assuming you want to open a <div> popup instead?