> <cfinput name="close_period_jump_start"  id="close_period_jump_start"
> type="checkbox" label="Close Jump Start Pay Period"
> onclick='alert("Make sure you are changing the Weekly Commission Start
> Date as well!");
> getURL("javascript:window.open('wtcompanyinfo_sendemail.cfm','news');")
>
> It's a flash cfform (hence the actionscript) and it doesn't load the
> form with the extra line in it. I've tried putting it into a function
> and I've tried just putting the getURL in it and it won't load the
> form at all.
>
> When I try this however..
>
> <cfinput name="close_period_jump_start"  id="close_period_jump_start"
> type="checkbox" label="Close Jump Start Pay Period"
> onclick='alert("Make sure you are changing the Weekly Commission Start
> Date as well!")'
>
> It loads up like a charm.
>
> How do I show an alert AND load a page in a new window?

It looks like you're having problems with quotes. The whole event
handler starts with a single quote, but ends with a double quote, and
you have unescaped single quotes within  the second statement in
there.

So, you can either escape the single quotes as needed, or write a
function that does what you need and invoke that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more informatio

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325951
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to