From: Jeffrey C. <dil...@ya...> - 2002-01-16 00:23:06
|
-----Original Message----- From: mis...@li... [mailto:mis...@li...]On Behalf Of Brent DeShazer Sent: Tuesday, January 15, 2002 6:09 PM To: Misterhouse Subject: FW: CLOSER: [misterhouse-users] can't get html "SUB" action to work... > > > Both of these worked ok for me: > > > > > > <a href="SUB;referer?playir('tv','1','1')">1</a><br> > > > <a href='SUB;referer?playir("tv","2","2")'>2</a><br> > > > > Did your playir function actually receive 3 seperate parameters? > > I couldn't get things to work using form/submit unless I removed > > my quotes around the individual parameters, and then my function > > received the string as one big parameter which I am now parsing > > out with a split function. > > > Yep. The key is quoting the arguments. If you don't quote them, then you > only get one argument. > > Bruce Figured it out, I was trying to put double-quotes inside double quotes, ala: <a href="SUB;referer?playir("tv","2","2")">2</a><br> Switching to this fixed the problem (duh): <a href="SUB;referer?playir('tv','1','1')">1</a><br> Mental note - don't work on home automation system at 12:30am... Brent ---------- Good catch Brent. That'll get you everytime. BTW, 12:30am is the ONLY time to work on HA system ;) Jeff __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |