multichild — 2011-09-19T11:24:13-04:00 — #1
What I have is a button on my page that when clicks, calls a pop up and then my client can request details from the page they are on.
Each page has a unique id, so im trying to pass that id to the other page to read it.
The code is as follows
The ?Id_Hot bit is not allowing it to work.
If not here I will post it in the other forums, if its isnt right here.
system — 2011-09-19T19:45:04-04:00 — #2
What are you really trying to do??
You are calling a function from a href (which you shouldn't do, but that's another issue) and the function call appears to have a query string appended to it which is not allowed.
starlion — 2011-09-20T08:26:34-04:00 — #3
window.open can take query strings, but what you're doing there is... something altogether different, and using a function that you havent shown us. As webdev said, this shouldnt be inside the href attribute (rather, it should be in the onClick attribute)
felgall — 2011-09-20T15:21:21-04:00 — #4
You ought to be attaching the script via the click event and adding the id to the url you send to location.href within the JavasScript function itself.