RE: Javascript test in ColdFusion

2012-04-04 Thread andy matthews
My pleasure RR. andy -Original Message- From: Robert Rhodes [mailto:rrhode...@gmail.com] Sent: Wednesday, April 04, 2012 7:05 PM To: cf-talk Subject: Re: Javascript test in ColdFusion Thanks to all for the suggestions on this. I went with the approach below and it worked well

Re: Javascript test in ColdFusion

2012-04-04 Thread Phillip Vector
Umm.. Why not just put in ? On Mon, Mar 26, 2012 at 8:39 PM, andy matthews wrote: > > A dead simple way of testing for JavaScript: > > >        window.location.href = 'javascriptCapable.cfm'; > > > > If a browser understands JS they get one page, if they don't they get > another. > > One thin

Re: Javascript test in ColdFusion

2012-04-04 Thread Robert Rhodes
Thanks to all for the suggestions on this. I went with the approach below and it worked well. Thank you Andy, -RR On Mon, Mar 26, 2012 at 11:39 PM, andy matthews wrote: > > A dead simple way of testing for JavaScript: > > >window.location.href = 'javascriptCapable.cfm'; > > > > I

RE: Javascript test in ColdFusion

2012-03-26 Thread andy matthews
A dead simple way of testing for JavaScript: window.location.href = 'javascriptCapable.cfm'; If a browser understands JS they get one page, if they don't they get another. One thing to consider though that it's not quite as simple as "understanding JS"...you should be checking for s

Re: Javascript test in ColdFusion

2012-03-26 Thread Azadi Saryev
if i had to do something like this, i would: 1) build a site that works without js (i.e. all links take user to a new page that shows requested data) 2) enhance the site with ajax (i.e. override default link actions and load data via ajax without redirects) there's no one-liner you can put into y

Re: Javascript test in ColdFusion

2012-03-26 Thread Cameron Childress
This is something you must do on the client (browser) and is not information available on the server. So, putting it in Application.cfc isn't at straightforward as you think. If you google "test javascript enabled" you'll get a bunch of links on some client side code to run the test. BrowserHaw

RE: Javascript error help!

2012-02-23 Thread Stephens, Larry V
Look at jquery.maskedinput-1.2.2.min.js I have a lot of masked fields in hidden divs. -Original Message- From: Ken Hammond [mailto:khamm...@saleminc.com] Sent: Wednesday, February 22, 2012 1:08 PM To: cf-talk Subject: Javascript error help! I am running into this exact problem t

Re: Javascript error help!

2012-02-22 Thread ColdFusion Developer
Have you looked at this: http://www.coderanch.com/t/119883/HTML-CSS-JavaScript/move-focus-control-because-it On Wed, Feb 22, 2012 at 1:08 PM, Ken Hammond wrote: > > I am running into this exact problem this guy had and cannot find a fix > ANYWHERE. > > http://www.elliottsprehn.com/cfbugs/bugs

Re: Javascript not working inside of cflayoutarea

2011-04-13 Thread Steve Sequenzia
Got it now. Thanks guys for all of the help. I really appreciate it. -Steve >1) in your main page change this: > $(document).ready(function() { > $("#accordion").accordion(); > }); > >to this: > doAccordion = function() { $("#accordion").accordion(); }); > >2) make html code in your t

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Azadi Saryev
1) in your main page change this: $(document).ready(function() { $("#accordion").accordion(); }); to this: doAccordion = function() { $("#accordion").accordion(); }); 2) make html code in your test.cfm standards-compliant (add doctype, html, head, body, etc tags) and then add this

RE: Javascript not working inside of cflayoutarea

2011-04-12 Thread Andrew Scott
Sent: Wednesday, 13 April 2011 1:09 PM > To: cf-talk > Subject: Re: Javascript not working inside of cflayoutarea > > > Thanks guys. Any idea how to make this jquery work in cflayout? > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Steve Sequenzia
Thanks guys. Any idea how to make this jquery work in cflayout? http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> MAMBA - Martial Arts Management & Business Automation http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css"; rel

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Azadi Saryev
Steve is only for cf's built-in scripts - you do not use it to load anything else. and you only need to use it if you do not have access to default cf's scripts folder or if you have moved the default cf scripts to another folder. to load jquery or any other js scripts, you just use your reg

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
add on, it is invaluable when it comes to development like this. Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Steve Sequenzia [mailto:c...@thinksys.com] > Sent: Tuesday, 12 April 2011 12:31 AM > To: cf-talk > Subject: Re: Javascr

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
Andrew, I understand what you are saying. I would rather import the files. I just can't seem to get the syntax right. I am trying this - When I do that all the other ajax stuff on the page does not load. Do I need to redirect all the files? Thanks again. -Steve >From my experience it is al

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
-- > From: Steve Sequenzia [mailto:c...@thinksys.com] > Sent: Monday, 11 April 2011 11:16 PM > To: cf-talk > Subject: Re: Javascript not working inside of cflayoutarea > > > Andrew, > > Thanks for the response. > > I fixed the functions to this format - funcName = fun

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Steve Sequenzia
Andrew, Thanks for the response. I fixed the functions to this format - funcName = function() {};. All of the scripts are in separate files. Do I need to use cfajaximport scriptSrc or can I just put the scripts into the CFIDE/scripts folder? I am confused how all that works. Thanks again. -

RE: Javascript not working inside of cflayoutarea

2011-04-11 Thread Andrew Scott
How is you JavaScript written? Is it like this Function funcName() { } Or is it written like funcName = function() {}; This is important, and as per the nodes in the documentation there are issues with JS not working, if you are not following the latter method. If however you are doing this,

Re: Javascript question

2011-03-14 Thread Carl Von Stetten
Is it possible that the click event is actually happening on the TD elements and not the TR? You might try attaching the click event to the parent table (so it only binds to one element) and take advantage of event bubbling. Use the event.target attribute to get to the row: $("#mytable").cli

RE: Javascript question

2011-03-13 Thread andy matthews
You didn't say what it is you're trying to accomplish, nor did you post example code, so we can't really say what's not working. One thing you could try is simplifying your code. Try replacing 3 lines with one: // old lines var getAttributes = row_id.split("_"); var setCommonAttr = getAttributes[

Re: Javascript question

2011-03-13 Thread Michael Grant
And one other thought. If your code posted accurately reflects the id's of the items you can replace this: var getAttributes = row_id.split("_"); var setCommonAttr = getAttributes[1] + "_" + getAttributes[2] + "_" + getAttributes[3] + "_" + getAttributes[4]; var new_row_id = document.getElemen

Re: Javascript question

2011-03-13 Thread Michael Grant
$(".rowclick") is completely acceptable. It will just add the function to all elements with that class name, which I assume is that the OP is looking for. OP: In the code you pasted what part isn't working exactly? All you are doing is setting some variables. I don't see in the code where any act

Re: Javascript question

2011-03-13 Thread Russ Michaels
it looks like you are using the classname instead of the object ID. normally the $() function is fer getting a reference to a obejct by its ID. $(".rowclick") shouldn't this be $("row_1_4_2009_abc") On Sun, Mar 13, 2011 at 3:29 PM, Jake Churchill wrote: > > Look into jQuery's .each() method

Re: Javascript question

2011-03-13 Thread Jake Churchill
Look into jQuery's .each() method. It helps in loopin over things like that -Jake Sent from my Droid On Mar 13, 2011 9:51 AM, "fun and learning" wrote: > > Hi All - I am trying to get the following working. It seemed to work initially, but somehow it stopped working > > I have a row like below

RE: Javascript in fckEditor

2010-11-26 Thread andy matthews
By default FCKEditor renders your code. It's handy but might not be what you want. -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Friday, November 26, 2010 9:31 AM To: cf-talk Subject: Javascript in fckEditor Hello all. I am added content to my database via

Re: Javascript Cfquery

2010-10-12 Thread Charlie Griefer
On Tue, Oct 12, 2010 at 1:20 PM, fun and learning wrote: > > Hi All - > > I am trying to do the following: > > > function abc(arg1, arg2) { > >select * from table1 where col1 = arg1 > > .. > } > > > > Is it poss

Re: Javascript Cfquery

2010-10-12 Thread Ian Skinner
On 10/12/2010 1:20 PM, fun and learning wrote: > Hi All - > > I am trying to do the following: > > >function abc(arg1, arg2) { > > select * from table1 where col1 = arg1 > > .. > } > > Not simultane

Re: javascript and coldfusion

2009-10-21 Thread Paul Cormier
I concur with Judah's comments on Ext JS and JQuery. ExtJS for largish web apps, JQuery for enhancing a site. I've just posted a presentation I made last weekend titled "Building RIAs using ExtJS 3 and ColdFusion" which you may find useful. http://www.slideshare.net/paulcormier/building-rias-u

Re: javascript and coldfusion

2009-10-21 Thread Claude Schneegans
>>what are your experiences of the above and others? The best library I ever used is the one I developed myself over the years. 1º it contains about everything I need; 2º it does not contain anything I don't need; 3º it can be enhanced easily any time. ~

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
jax :s > > -- > From: "James Holmes" > Sent: Wednesday, October 21, 2009 2:03 PM > To: "cf-talk" > Subject: Re: javascript and coldfusion > >> >> And ExtJS explicitly provides connectors for whatever libra

Re: javascript and coldfusion

2009-10-21 Thread Arsalan Tariq Keen
how can I use these connectors??? I am a newbie to Ajax :s -- From: "James Holmes" Sent: Wednesday, October 21, 2009 2:03 PM To: "cf-talk" Subject: Re: javascript and coldfusion > > And ExtJS explicitly provides conne

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
gside other > frameworks. > > -Original Message- > From: Dave Watts [mailto:dwa...@figleaf.com] > Sent: Wednesday, October 21, 2009 12:02 AM > To: cf-talk > Subject: Re: javascript and coldfusion > > >> H reading this chain of emails... a question raised in m

RE: javascript and coldfusion

2009-10-20 Thread lists
jQuery explicitly offers compatibility mode for use alongside other frameworks. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, October 21, 2009 12:02 AM To: cf-talk Subject: Re: javascript and coldfusion > H reading this chain of emails..

Re: javascript and coldfusion

2009-10-20 Thread Dave Watts
> H reading this chain of emails... a question raised in my mind > can we use multiple frameworks on the same page... I mean can use > jQuery to create a window and use ExtJS for displaying a grid Generally, yes, although some frameworks may have compatibility issues with othe

Re: javascript and coldfusion

2009-10-20 Thread Arsalan Tariq Keen
: "Tony Bentley" Sent: Wednesday, October 21, 2009 1:17 AM To: "cf-talk" Subject: Re: javascript and coldfusion > > Not only that, but Adobe has packaged it for ColdFusion's AUTOSUGGEST> > > /CFIDE/scripts/ajax/yui/autocomplete/autocomplete-min.js > &g

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
Not only that, but Adobe has packaged it for ColdFusion's /CFIDE/scripts/ajax/yui/autocomplete/autocomplete-min.js /CFIDE/scripts/ajax/yui/animation/animation-min.js /CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js >YUI is still in development, without a doubt. Ext is a project tha

Re: javascript and coldfusion

2009-10-20 Thread Judah McAuley
t is behind at all). > > > andy > > -Original Message- > From: Tony Bentley [mailto:t...@tonybentley.com] > Sent: Tuesday, October 20, 2009 11:00 AM > To: cf-talk > Subject: Re: javascript and coldfusion > > > Why wouldn't you choose YUI as an option to implement?

Re: javascript and coldfusion

2009-10-20 Thread Richard White
thanks for all your replies... seems then that extjs is good for ui and jquery for adding functionaility and therefore we should know both :) > Hi, > > we are doing a review of the best javascript components libraries to > use with coldfusion, e.g. jquery, extjs, dhtmlx, etc... > > what ar

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
al Message- From: Tony Bentley [mailto:t...@tonybentley.com] Sent: Tuesday, October 20, 2009 11:00 AM To: cf-talk Subject: Re: javascript and coldfusion Why wouldn't you choose YUI as an option to implement? I'm not sure I understand, unless it is purely preference. I don't use it bu

Re: javascript and coldfusion

2009-10-20 Thread denstar
Yeah, like, dojo's testing stuff is freaking awersome! And you don't have to run dojo to use it, either. Mix and match, match and mix... Cuz the dojo heads are freaking cool like that. Talk about a well thought out JS framework. Hat's off to 'em. -- Everything is pathology, except for indif

Re: javascript and coldfusion

2009-10-20 Thread Judah McAuley
I like Ext for building JS applications but prefer JQuery for adding functionality on top of an HTML application. Ext is a full fledged frame work. If you want to have a single html page with nothing more than a div and build all your UI in javascript that does event-driven calls to a CF backend,

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
Why wouldn't you choose YUI as an option to implement? I'm not sure I understand, unless it is purely preference. I don't use it but I know there are enough apps out there that use it to make it worth considering. JQuery on the other hand is something I have come to depend on, similarly to Cold

Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)
Especially since ExtJs started out as an 'extension' of YUI ;) And (and I'm not knockin JQuery) people should really look at ExtCore for basic DOM manipulation, ajax and effects... Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Le

Re: javascript and coldfusion

2009-10-20 Thread James Holmes
I'd cut two from that list; just use jQuery and ExtJS (with the jQuery connector). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/20 Tony Bentley : > > I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an > independent value that the

Re: javascript and coldfusion

2009-10-20 Thread Tony Bentley
I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an independent value that the others do not carry. For instance, when using the CFAJAXPROXY, you are using the Prototype library. For UI windows, navigation, etc you are using ExtJS. When building custom controllers or doing y

RE: javascript and coldfusion

2009-10-20 Thread Andy Matthews
It mostly depends on what you'll be doing with those libraries. If you're going to be doing application dev and want consistent UI, then the built in copies of ExtJS might work for you. If you just want to spice up existing pages with new functionality unobtrusively then jQuery is by far your be

Re: javascript and coldfusion

2009-10-20 Thread Steve Milburn
I think you'll find a lot of varying opinions on which library is best, but the only way you're going to be able to make the decision that works best for you is to get your hands dirty with several different libraries and decide for yourself. Personally, I started with Spry and have since moved to

Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)
I find it best to use ExtJs, for a number of reasons. One, it's bundled in ColdFusion, and I can rapidly prototype applications (using the cfajax tags), then build out full featured apps that directly resemble the prototypes. Licensing is not an issue, as we are licensed the use of the library

Re: javascript / coldfusion ajax communication

2009-09-30 Thread Richard White
thanks, your advice and links are clear to understand... so the best option seems to be encodeuricomponent function in js and urldecode function in cf thanks again > hi > > our client side scripting is in javascript and server side code is > coldfusion. > > our javascript sends string data

RE: javascript / coldfusion ajax communication

2009-09-29 Thread Josh Nathanson
Richard, here's a helpful site with comparisons of the various js options to encode: http://xkr.us/articles/javascript/encode-compare/ -- Josh -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Tuesday, September 29, 2009 9:41 AM To: cf-talk Subjec

Re: javascript / coldfusion ajax communication

2009-09-29 Thread Steve Milburn
Richard In your js, use encodeURIComponent on any user entered data to properly encode the string. Have a look at the CF function URLDecode on the backend if CF doesn't properly decode your string automatically. Steve On Mon, Sep 28, 2009 at 9:31 AM, Richard White wrote: > > hi > > our client

RE: javascript / coldfusion ajax communication

2009-09-29 Thread Robert Harrison
ams.com/unplugged -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, September 29, 2009 11:17 AM To: cf-talk Subject: Re: javascript / coldfusion ajax communication does anyone have ideas? > hi > > our client side scripting is in javascript and server

Re: javascript / coldfusion ajax communication

2009-09-29 Thread Richard White
does anyone have ideas? > hi > > our client side scripting is in javascript and server side code is > coldfusion. > > our javascript sends string data to coldfusion via url. > > what is the best way to encode/escape the javascript strings and > decode/unescape them in coldfusion > > than

IUM IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
ha! Got it! it was the submit buttons on the page being named "submit" ... Thanks all, pointed me in the right direction !! -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: 18 March 2009 14:24 To: cf-talk Subject: SPAM-MEDIUM IUM Re:

IUM Re: Javascript question

2009-03-18 Thread Jenny Gavin-Wear
Thanks all for the rapid replies. I'm sure it's something stupid I'm doing, arrghhh I've tried this as a test and it works fine: SELECT * FROM tbl_confRooms where confID = #session.confID# 1 2 3 4 4.5 checked > 5 checked > But when it's on the page I need it on I get the error:

Re: Javascript question

2009-03-18 Thread Claude Schneegans
>>document.registerForm.submit is not a function Apparently, getElementById() has returned an object which is not a form, thus which has no submit function.. Make sure no other object has an id="registerForm". ~| Adobe® ColdFu

Re: Javascript question

2009-03-18 Thread Ryan Stille
Do you have ID="registerForm" in your opening form tag? Don't forget it is case sensitive, too. -Ryan Jenny Gavin-Wear wrote: > I have in the header: > > > function submitForm() > { > document.getElementById("registerForm").submit() > } > > > and this as the trigger: > > is 0>checked onCli

Re: Javascript question

2009-03-18 Thread Massimo Foti
> > function submitForm() > { > document.getElementById("registerForm").submit() > } > > > and this as the trigger: > > session.roomID > is 0>checked onClick="submitForm()"> > > I am getting the error: > document.registerForm.submit is not a function > > Could someone tell me what I am doing w

Re: Javascript question

2009-03-18 Thread Ian Skinner
Jenny Gavin-Wear wrote: > Could someone tell me what I am doing wrong, please? Does your form control of an id of 'registerForm' with that exact capitalization? Is it the only thing on the page with that id? ~| Adobe® Cold

Re: [JavaScript] Getting Parent

2009-03-16 Thread Andrew Grosset
try: parent.top.location.href Andrew. >Hi All, > > > >I have a page that loads a modal popup using ShowModalDialog. To get around >issues with submitting data inside a modal dialog, I have an iframe to >handle posts within in the modal dialog. > > > >The popup gets triggered two minutes before

Re: JavaScript Validation in ColdFusion

2009-02-20 Thread Claude Schneegans
>>should be: if (document.form1.text_id.disabled == true) Or more simply: if (document.form1.text_id.disabled) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.

RE: JavaScript Validation in ColdFusion

2009-02-20 Thread William Seiter
I didn't look through everything, but right off the top it appears there is a typo. This line: if (document.form1.text_id.disabled = true) should be: if (document.form1.text_id.disabled == true) 1 equal sign is the symbol to set the left to the value on the right, and in an 'if' statement will on

RE: Javascript question

2009-02-13 Thread Adrian Lynch
SHARE IT, SHARE IT, SHARE IT, SHARE IT, SHARE IT!! :OD Go on, take out any sensitive info (but make sure the structure remains the same). Adrian > -Original Message- > From: Nathan Strutz [mailto:str...@gmail.com] > Sent: 13 February 2009 21:50 > To: cf-talk > Subject:

Re: Javascript question

2009-02-13 Thread Nathan Strutz
Ok scott, you've piqued my interest. You've _got_ to share this interface that chokes jQuery. :) nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Fri, Feb 13, 2009 at 12:57 PM, Scott Stewart wrote: > > and that would/does work. > > I don't

Re: Javascript question

2009-02-13 Thread Scott Stewart
and that would/does work. I don't know if it's an error with the layout or jquery can't traverse nested tables or what but I've never been able to get it to function consistently in this layout Brian Swartzfager wrote: >> jquery doesn't work with this layout, that's the first place I went. >>

Re: Javascript question

2009-02-13 Thread Brian Swartzfager
>jquery doesn't work with this layout, that's the first place I went. Not to keep beating the jQuery horse, but if jQuery is referencing the radio button by ID or some other non-positional selector, the layout shouldn't matter. Just to be sure, I wrote up a quick little test with 2 sets of radi

Re: Javascript question

2009-02-13 Thread Claude Schneegans
Hi, IMHO, the simplest on most efficient way to bypass the problem would be to make sure no element has a name which could be identical to the ID of another one. For instance, always use something like ID="id_" NAME="name_" ~~~

Re: Javascript question

2009-02-13 Thread Scott Stewart
jquery doesn't work with this layout, that's the first place I went. Adrian Lynch wrote: > I know, I hate it sometimes too when you ask a question and someone says, > "don't do it that way, do it this completely different way", but, jQuery! > > > > $(function() { > > >

RE: Javascript question

2009-02-13 Thread Adrian Lynch
Could you post the HTML source for us? Or point to it on t'internet. Adrian > -Original Message- > From: Scott Stewart [mailto:saste...@email.unc.edu] > Sent: 13 February 2009 16:28 > To: cf-talk > Subject: Re: Javascript question > > > I wish I could,

RE: Javascript question

2009-02-13 Thread Adrian Lynch
I know, I hate it sometimes too when you ask a question and someone says, "don't do it that way, do it this completely different way", but, jQuery! $(function() { $(".checkAll").change(function() { if (th

Re: Javascript question

2009-02-13 Thread Scott Stewart
I wish I could, I've had fits trying to get jquery to function properly with this layout in IE. I'm not sure jquery likes nested tables. Dawson, Michael wrote: > This isn't the answer you are asking for, but I would suggest that you > use jQuery for this task. > > jQuery's selectors would make

RE: Javascript question

2009-02-13 Thread Dawson, Michael
This isn't the answer you are asking for, but I would suggest that you use jQuery for this task. jQuery's selectors would make it easier to find the objects you want to modify, then you can easily set the disabled flag, as needed. Thanks, Mike -Original Message- From: Scott Stewart [mai

Re: javascript debugger for ie

2009-02-04 Thread Charlie Griefer
On Wed, Feb 4, 2009 at 1:54 PM, Dave Watts wrote: > > > ...and now I'm lost :) I'd normally assume that by "don't work" you mean > > they don't render properly. But with that being the crux of this > particular > > tangent, I'm assuming that's not what you mean. What server side code > would

Re: javascript debugger for ie

2009-02-04 Thread Gerald Guido
It is common to have to have 2 or 3 versions of CSS to accommodate for browser inconsistencies. A friend of mine does *nothing but* UI design and he says that he usually has at least 2 versions of CSS. So that plugin that Charlie showed me allowed me to see the the IE Stylesheet in FF and use Fir

Re: javascript debugger for ie

2009-02-04 Thread Dave Watts
> ...and now I'm lost :) I'd normally assume that by "don't work" you mean > they don't render properly. But with that being the crux of this particular > tangent, I'm assuming that's not what you mean. What server side code would > be poorly-written enough to "not work" based on the browser?

Re: javascript debugger for ie

2009-02-04 Thread Charlie Griefer
On Wed, Feb 4, 2009 at 12:02 PM, Dave Watts wrote: > > > What would be the advantage of switching the user agent otherwise? I can > > see if maybe a particular site only supported a given browser... would > there > > be others? Just curious. > > You can use it to tell the server to generate co

Re: javascript debugger for ie

2009-02-04 Thread Dave Watts
> What would be the advantage of switching the user agent otherwise? I can > see if maybe a particular site only supported a given browser... would there > be others? Just curious. You can use it to tell the server to generate code for another browser, and there are all kinds of uses for that.

Re: javascript debugger for ie

2009-02-04 Thread Claude Schneegans
>>Ah, gotcha. I was under the impression it would render as if it were the specified browser. If it was so, why would Mozilla not ALWAYS support IE functions? >>What would be the advantage of switching the user agent otherwise? Very poor indeed. ~

Re: javascript debugger for ie

2009-02-04 Thread Charlie Griefer
On Wed, Feb 4, 2009 at 10:34 AM, Dave Watts wrote: > > > I've not tried it. My assumption would be that if Firefox is rendering > it > > as if it were being rendered in IE, then the JS would behave as if it > were > > IE. Seems like a logical conclusion. But no.. I've not tried it to be > >

Re: javascript debugger for ie

2009-02-04 Thread Dave Watts
> I've not tried it. My assumption would be that if Firefox is rendering it > as if it were being rendered in IE, then the JS would behave as if it were > IE. Seems like a logical conclusion. But no.. I've not tried it to be > able to say with 100% certainty. Changing the user agent does not

Re: javascript debugger for ie

2009-02-04 Thread Charlie Griefer
On Wed, Feb 4, 2009 at 7:19 AM, Claude Schneegans < schneeg...@internetique.com> wrote: > > >>What about installing a user agent switcher add on for firefox? this > way > you can sort of be testing in IE, > > Excuse a may be silly question, but how just switching the agent can > help debugging?

Re: javascript debugger for ie

2009-02-04 Thread Claude Schneegans
>>What about installing a user agent switcher add on for firefox? this way you can sort of be testing in IE, Excuse a may be silly question, but how just switching the agent can help debugging? Firefox will make Javascript believe it is IE, but will it act as IE? ~

Re: javascript debugger for ie

2009-02-03 Thread Gerald Guido
Nice find Charlie. Thanx. I am in cross browser hell right now Someone please kill me. G! On Tue, Feb 3, 2009 at 6:25 PM, Charlie Griefer wrote: > > i haven't really used it much... but really nothing holds a candle to > firebug. > What about installing a user agent switcher add on for fire

Re: javascript debugger for ie

2009-02-03 Thread Richard White
no i havent but will look into this, thanks i have been meaning to look into JQuery for some time and know that it will help us out if we do so this is the perfect excuse! thanks >Question: Have you tried using a javascript library that hides and handles >the cross browser issues behind the sc

Re: javascript debugger for ie

2009-02-03 Thread Gerald Guido
He only thing I have seen is the IE debugger in Aptana pro ($99). I use the FOSS version of Aptana and absolutely love it. http://www.aptana.com/docs/index.php/Installing_the_IE_debugger G! On Tue, Feb 3, 2009 at 6:16 PM, Richard White wrote: > > thanks for the recommendation... i have downlo

Re: javascript debugger for ie

2009-02-03 Thread Wil Genovese
Question: Have you tried using a javascript library that hides and handles the cross browser issues behind the scenes? JQuery is the hot one these days, but other like Prototype, YUI and others are available and usually have excellent documentation. These libraries can really take the headache o

Re: javascript debugger for ie

2009-02-03 Thread Richard White
WOW... this is very powerful thanks Charlie, seems like a perfect answer :) >i haven't really used it much... but really nothing holds a candle to >firebug. >What about installing a user agent switcher add on for firefox? this way >you can sort of be testing in IE, yet have firebug available?

Re: javascript debugger for ie

2009-02-03 Thread Charlie Griefer
i haven't really used it much... but really nothing holds a candle to firebug. What about installing a user agent switcher add on for firefox? this way you can sort of be testing in IE, yet have firebug available? https://addons.mozilla.org/en-US/firefox/addon/59 On Tue, Feb 3, 2009 at 3:16 PM,

Re: javascript debugger for ie

2009-02-03 Thread Richard White
thanks for the recommendation... i have downloaded it and it tells me what line of code an error is on but it doesn't allow me to view that line of code, does it just alert you to the line or is there a way, like firebug, to get more details on the line and view the code etc... thanks (sorry do

Re: javascript debugger for ie

2009-02-03 Thread Gerald Guido
http://www.debugbar.com/?langage=en Free for personal use. I find that debugging JS to be a very personal issue. This is very handy as well http://www.my-debugbar.com/wiki/IETester/HomePage On Tue, Feb 3, 2009 at 5:14 PM, Richard White wrote: > > hi, > > sorry for the non-cf question but do

Re: javascript debugger for ie

2009-02-03 Thread Charlie Griefer
http://www.debugbar.com/ http://www.my-debugbar.com/wiki/CompanionJS/HomePage On Tue, Feb 3, 2009 at 2:14 PM, Richard White wrote: > > hi, > > sorry for the non-cf question but does anyone know a good opensource JS > debugger for IE, that is similar to FireBug for FireFox, and is not the > scrip

Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
hmm... true. good point. is there any chance you can post the full rendered html to nomorepasting.com so i can take it for a spin locally? On Tue, Jan 13, 2009 at 9:51 AM, Scott Stewart wrote: > I don't think so, this works in FF, you'd think it would balk at that.. > but I'll check again. > >

Re: Javascript compatibility question

2009-01-13 Thread Gerald Guido
Paste the whole page/code in question on pastebin so we can see the whole thing http://pastebin.com/ On Tue, Jan 13, 2009 at 12:51 PM, Scott Stewart wrote: > I don't think so, this works in FF, you'd think it would balk at that.. > but I'll check again. > > Charlie Griefer wrote: > > do you have

RE: Javascript compatibility question

2009-01-13 Thread Milburn, Steve
[charlie.grie...@gmail.com] Sent: Tuesday, January 13, 2009 12:48 PM To: cf-talk Subject: Re: Javascript compatibility question do you have multiple elements on the page with the same ID? On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote: > tried that, and no love... > > Charlie Grie

Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
I don't think so, this works in FF, you'd think it would balk at that.. but I'll check again. Charlie Griefer wrote: > do you have multiple elements on the page with the same ID? > > On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote: > > >> tried that, and no love... >> >> Charlie Griefer w

Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
do you have multiple elements on the page with the same ID? On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote: > tried that, and no love... > > Charlie Griefer wrote: > > I think what Adrian's getting at is your reference to the elements should > be > > document.getElementById('foo'), not docu

RE: Javascript compatibility question

2009-01-13 Thread Adrian Lynch
Yeah, what Charlie said :OD > -Original Message- > From: Charlie Griefer [mailto:charlie.grie...@gmail.com] > Sent: 13 January 2009 17:11 > To: cf-talk > Subject: Re: Javascript compatibility question > > I think what Adrian's getting at is your reference t

Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
tried that, and no love... Charlie Griefer wrote: > I think what Adrian's getting at is your reference to the elements should be > document.getElementById('foo'), not document.form1.getElementById('foo'). > can you give that a shot? > > On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart wrote: > >

Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
I think what Adrian's getting at is your reference to the elements should be document.getElementById('foo'), not document.form1.getElementById('foo'). can you give that a shot? On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart wrote: > getElementById() is a javascript function that finds a specified

Re: Javascript compatibility question

2009-01-13 Thread Claude Schneegans
>>getElementById() is a javascript function that finds a specified element on a page it can be a form or page element. At least in IE, this methods applies only to the document object. see: http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-40002357 I'm surprised it works f

  1   2   3   4   5   6   7   8   9   10   >