This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi Everyone,
    I am having problems trying to build an A HREF link with a userid that it 
found a cookie. When a person first comes to my webpage, it will look to see if 
it has a userid cookie, if not it will fill in the "userid" with guest. Then 
will allow me to set custom prices for items per customer.
 Here is what I have:
<td height="11"><a href="" onClick="gotoiteminq();" target="mainFrame"><img 
src="Images/Clip%20Art/Accessories%20Button.gif" width="118" height="26" 
border="0"></a></td>.

Here is the JavaScript Source:

function gotoiteminq() {
 window.location="/cgi-bin/iteminq?XCAT=ACC&USERID=(userid)";
 }

The /cgi-bin/iteminq?XCAT=ACC&USERID=(userid) is a CGI program on the 400. I 
will get the variable userid from the GetCookie function. I do have that 
working. I just need help in getting the window and links to build dynamically. 
Someone please lead me in the right direction.



Thanks,

Justin Houchin
Programmer
Reliatek, Inc
jhouchin9@charter.net


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.