|
|
Multiple Commands #2
Hi,
Sorry if this is a double post. I posted this about 1 hour ago, and
it never appeared.
I have some javascript commands I want executed when a user clicks on
an href link. My code is below. The code works fine with the first
command, but when I add the second and third commands, nothing
happens.
However, if I remove the first command, everything works fine. But I
need all three statements. Can anyone see the error in my ways?
Thanks!
<a href=\"javascript:emailvalidation('$email','The E-mail address is
not valid');document.OptOut.action = 'activate.php?type=2&db=$db&ref=
$ref&acronym=$acronym';document.OptOut.submit();\">Click Here</a>
|
|
0
|
|
|
|
Reply
|
amerar (454)
|
9/21/2007 1:49:20 PM |
|
amerar@iwc.net wrote:
> Hi,
>
> Sorry if this is a double post. I posted this about 1 hour ago, and
> it never appeared.
>
> I have some javascript commands I want executed when a user clicks on
> an href link. My code is below. The code works fine with the first
> command, but when I add the second and third commands, nothing
> happens.
>
> However, if I remove the first command, everything works fine. But I
> need all three statements. Can anyone see the error in my ways?
>
> Thanks!
>
> <a href=\"javascript:emailvalidation('$email','The E-mail address is
> not valid');document.OptOut.action = 'activate.php?type=2&db=$db&ref=
> $ref&acronym=$acronym';document.OptOut.submit();\">Click Here</a>
>
I am no expert, but surely once you call another window you have passed
control away and that is the end of javascript in that window, Jim.
|
|
0
|
|
|
|
Reply
|
The
|
9/21/2007 3:10:35 PM
|
|
|
1 Replies
112 Views
(page loaded in 0.032 seconds)
Similiar Articles: ping using multiple interfaces - comp.unix.solarisHSRP and Interface IP will not PING - comp.dcom.sys.cisco ... ping using multiple interfaces - comp.unix.solaris... commands below report the destination to be alive, but ... Resetting password on multiple servers - comp.unix.solaris ...I would like to write a Korn shell script that reads from a list of servers and for each server, executes a remote shell command that resets a user's ... how to comment out multiple lines in kshell? - comp.unix ...So you can sent out the PDF and Start.fdf and ask ... Thanks for your comments. Given vacation schedules, I ... Batch (DOS) Command Support ... line char in a multiple ... FTP: lost connection while transfering multiple files - comp.unix ...FTP: lost connection while transfering multiple files - comp.unix ..... and Windows NT ... line FTP, to transfer several files, you can use the commands mput (Multiple ... how to send mail to multiple recipients - comp.unix.admin ...... echo test | mail user1@domain.com user2@domain.com how do I send mail to multiple ... For which case I tend to construct a list of SMTP commands in a file and feed it to ... Shell script to ping multiple hosts - comp.unix.shellShell script to ping multiple hosts - comp.unix.shell Problem when multiple SCP connections in Solaris 10 - ssh_exchange ... However ... commands ... identification ... Problem when multiple SCP connections in Solaris 10 - ssh_exchange ...However, when we are standing multiple files "cocncurrently" via shell script or commands from server A to server B, we are getting the following messages repeatedly. Expect on Windows, SSH/Telnet processes not closing properly ...Using plink.exe (PuTTY's command-line tool), you can send a single command on the command line, or specify a file that has multiple commands to run. 3510 Multiple Paths - bonnie++ - comp.unix.solarisAccording to Sun docs the mpathadm command should show you the state and config of ... 3510 Multiple Paths - bonnie++ - comp.unix.solaris Hello all, We've been testing a ... Changing IP address on Solaris 9 with multiple virtual IP ...... in the output of "ifconfig -a" u can then assign ipaddress via ifconfig command To ... LAN for load sharing or to act like multiple virtual ... how to ping to multiple ip ... Running multiple commands - The Computer Technology Documentation ...When you become more familiar with the command line, you probably will need to run multiple commands. The shell let\'s you inser Multiple Commands on a Single Line May Not Run When You Use the ...The double ampersand ( && ) command separator may not run the commands to the right of && command. For example, when you run the following command, the ... 7/18/2012 7:06:00 AM
|
|
|
|
|
|
|
|
|