Have you tried including the jQuery library on target page?

----- Original Message ----- 
From: "David Mineer" <[email protected]>
To: "cf-talk" <[email protected]>
Sent: Thursday, January 07, 2010 12:09 PM
Subject: ***SPAM*** jquery javascript coldfusion.navigate cflayout cfdiv


>
> We cannot get a simple jquery function to work using coldfusion.navigate,
> cflayout and a cfdiv.  One of those 3 or a combination is causing us fits.
>
> page 1: checkbox2.cfm
> ----------------------
> <script src="
> http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js";></script<http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js%22%3E%3C/script>
>>
>
> <script>
> $(document).ready(function(){
>
> $("#checkboxall").click(function()
>  {
>   var checked_status = this.checked;
>   $("input[name=mapid]").each(function()
>   {
>    this.checked = checked_status;
>   });
>  });
>
> });
> </script>
>
> <label for="checkboxall">Select All<input id="checkboxall" type="checkbox"
> />
>
> <FORM>
> <input name="mapid" type="checkbox" /><BR>
> <input name="mapid" type="checkbox" /><BR>
> <input name="mapid" type="checkbox" /><BR>
> </form>
> --------------------
> Page 2: checkboxtest.cfm
>
> <cflayout type="border" name="layoutborder">
>  <cflayoutarea name="Center" position="center">
>    <a href="javascript:ColdFusion.navigate('checkbox2.cfm','catz')">Click
> Here</a>
>  </cflayoutarea>
> </cflayout>
> <cfdiv id="catz">
> </cfdiv>
>
> ---------------------------
>
> The first page, by itself works just fine.  The second page gives an error
> and we cannot figure out a solution.  I really like the dynamic nature of
> using coldfusion.navigate to load a page into the cfdiv on the fly.
>
> How can I make the second page work?
>
> -- 
> David Mineer Jr
> ---------------------
> The critical ingredient is getting off your
> butt and doing something. It's as simple
> as that. A lot of people have ideas, but
> there are few who decide to do
> something about them now. Not
> tomorrow. Not next week. But today.
> The true entrepreneur is a doer.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:329472
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to