How do I pass a CF variable to another page if that second page is called by a Javascript function?
I have a record ID that I want to pass after clicking on a text link.
That link calls a JS function that has no knowledge (clientside) of the record ID which will be a CF (serverside) variable when submitted.
eg:
My original link is:
<A HREF = "javascript:void(0)" onClick="ShowCalendar()">text</a>
And I want to pass:
completed=#RecordID#
along with it to the next page.
The function (not shown) does a window.open to call the next page.
So passing a "null page" along with a URL variable didn't work.
eg: A HREF="##?completed=#RecordID#" onClick=.......
I also tried adding var1=#completed# to the JS funtion in hopes of passing that to the next page but of course that too did not evaluate becuase the JS is client side only.
Any ideas, or pointers to a CF / JavaScript resource would be appreciated.
Thanks,
Apex
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Apex Systems Consulting
e-Solutions for Small Business
I have a record ID that I want to pass after clicking on a text link.
That link calls a JS function that has no knowledge (clientside) of the record ID which will be a CF (serverside) variable when submitted.
eg:
My original link is:
<A HREF = "javascript:void(0)" onClick="ShowCalendar()">text</a>
And I want to pass:
completed=#RecordID#
along with it to the next page.
The function (not shown) does a window.open to call the next page.
So passing a "null page" along with a URL variable didn't work.
eg: A HREF="##?completed=#RecordID#" onClick=.......
I also tried adding var1=#completed# to the JS funtion in hopes of passing that to the next page but of course that too did not evaluate becuase the JS is client side only.
Any ideas, or pointers to a CF / JavaScript resource would be appreciated.
Thanks,
Apex
-=-=-=-=-=-=-=-=-=-=-=-=-=-
Apex Systems Consulting
e-Solutions for Small Business