Search the web
Sign In
New User? Sign Up
cfajax
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Javscript question - with an email this time!   Message List  
Reply | Forward Message #2004 of 2032 |
RE: [cfajax] Javscript question - with an email this time!

I just tried it and it worked perfectly. Thanks very much James! ;-)

 

From: cfajax@yahoogroups.com [mailto:cfajax@yahoogroups.com] On Behalf Of James Holmes
Sent: 31 October 2007 13:36
To: cfajax@yahoogroups.com
Subject: Re: [cfajax] Javscript question - with an email this time!

 

Can you just use a url specified from the root (e.g.
/mxajax/core/cf/example.cfc)? This means the domain is unnecessary and
it's how I always do it.

On 10/31/07, Edward Chanter <ed@...> wrote:

> I have a question about JavaScript, in the mxajax code it references the URL of the CF function, eg:
>
> var urlTags = "http://#CGI.server_name#/mxajax/core/cf/example.cfc";
>
> How would I make javascript print the CGI.server_name instead of having coldfusion do it? I need the hostname to be dynamic but can't for the life of me figure out how to do it.

--
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



Wed Oct 31, 2007 1:39 pm

jumperb
Offline Offline
Send Email Send Email

Attachment
image001.jpg
Type:
image/jpeg
Attachment
image002.jpg
Type:
image/jpeg
Forward
Message #2004 of 2032 |
Expand Messages Author Sort by Date

Oops, sorry about that blank email guys. I have a question about JavaScript, in the mxajax code it references the URL of the CF function, eg: var urlTags =...
Edward Chanter
jumperb
Offline Send Email
Oct 31, 2007
11:36 am

Can you just use a url specified from the root (e.g. /mxajax/core/cf/example.cfc)? This means the domain is unnecessary and it's how I always do it. ... -- ...
James Holmes
holmesjr_2005
Offline Send Email
Oct 31, 2007
1:36 pm

I just tried it and it worked perfectly. Thanks very much James! ;-) From: cfajax@yahoogroups.com [mailto:cfajax@yahoogroups.com] On Behalf Of James Holmes ...
Edward Chanter
jumperb
Offline Send Email
Oct 31, 2007
1:39 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help