[jQuery] Re: Unable to Formulate a Proper Title

2009-06-02 Thread kiusau
On Jun 1, 4:21 pm, kiusau wrote: > On Jun 1, 9:39 am, kiusau wrote: It would be unjust to say that my time was completely wasted in this forum, but it would be foolish for me to waste any more, because I have discovered here what I dislike most about IT forum's in general. So, with t

[jQuery] Re: Unable to Formulate a Proper Title

2009-06-01 Thread kiusau
On Jun 1, 9:39 am, kiusau wrote: > How does one assign the return value of a jQuery method/plug-in to a > reference variable? Why is this such a difficult question to answer? Who was it who once wrote that the jQuery community is helpful to those at all levels of mastery? Where are y

[jQuery] Unable to Formulate a Proper Title

2009-06-01 Thread kiusau
How does one assign the return value of a jQuery method/plug-in to a reference variable? Roddy An IT idiot with apparent zero ability to communicate among Geeks who systematically eschew reading but readily recommend the writing of others.

[jQuery] The Assignment of the Return Value of a jQuery Method/Plug-in to a Reference Variable

2009-05-31 Thread kiusau
QUESTION: Please find below three blocks of code and try to answer the question in all-caps that precedes this code. CODE DESCRIPTION: The first block of code uses a jQuery method/plug- in called toDate( ) that I created. This code has been thoroughly tested in Firefox, Opera, and Safari. It w

[jQuery] Re: The Assignment of Functions to Tags that Are Not jQuery Methods

2009-05-29 Thread kiusau
On May 27, 3:38 pm, kiusau wrote: > On May 26, 2:19 am, Pepperman wrote: Although I was eventually able to resolve my problem at W3Schools, I would very much like a clarification of what Pepperman wrote above and to which I dutifully responded. Certainly, it would be insightful to me, if

[jQuery] Re: Clarification of the Basics

2009-05-29 Thread kiusau
First of all, I would like to thank you for responding, and it is my sincere hope that you will follow through as not all are wont. On May 29, 10:38 am, Kelly wrote: > The first situation, $.prompt(x), is just a function, attached to the > jQuery namespace. This is useful if you're creating a fu

[jQuery] Clarification of the Basics

2009-05-28 Thread kiusau
QUESTION: Do $.prompt(temp) and $().prompt(temp) mean the same thing? If they do not mean the same, how are they different. Roddy

[jQuery] Re: The Assignment of Functions to Tags that Are Not jQuery Methods

2009-05-27 Thread kiusau
On May 26, 2:19 am, Pepperman wrote: > This is also up to personal preferences. I personally don't like > polluting the window namespace with unnecessary stuff. I have never thought of the DOM window as a namespace before. As an object, yes. > Especially since jQuery is so easy to extend. Obv

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-27 Thread kiusau
On May 26, 5:51 am, infoaddicted wrote: > According to the documentation, the body of your ready function will > execute when the DOM has loaded and is ready to traverse. The last two > scripts manipulate the DOM, so I would put the ready function > afterward so I could be more confident in the

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-27 Thread kiusau
On May 26, 12:21 pm, Ricardo wrote: > 1. Do you get errors if you remove the last 2 spry scripts? > 2. Regardless of which script does what, you should put the $().ready > ( always after all the scripts as a safety measure, there's no > negative impact. > 3. If I remember a recent discussion, you

[jQuery] jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-26 Thread kiusau
QUESTION: What is the general rule for using the Ready function in the presence of other Javascript? BACKGROUND: I have recently discovered that my previous problems with the customization of the jQ Impromptu plug-in could be overcome through isolation. In effect, I removed my script from the

[jQuery] Re: JQuery Treeview - Display sub nodes when mouse over menu

2009-05-25 Thread kiusau
Have you tried here: http://docs.jquery.com/Traversing/children#expr Roddy On May 25, 1:55 pm, eclipseTalk wrote: > Hello, > I'd like to display the children nodes when the mouse over the parent > node. What is the best way to achieve that? Any help is appreciated. > Thank you for your time.

[jQuery] The Assignment of Functions to Tags that Are Not jQuery Methods

2009-05-25 Thread kiusau
QUESTION: I once read in this forum that it is a good idea to limit the number of "new" jQuery methods and write as much script as possible outside of the jQuery framework. If this is true, then how does one go about assigning functions to tags, if they are not themselves jQuery methods that one

[jQuery] Re: Newbie question- declarative selectors inside procedural code

2009-05-25 Thread kiusau
On May 25, 3:44 am, Jason Persampieri wrote: > Certainly... you're really not all that far off at all... let me just > point out a couple of things. Very nice presentation! It is likely that many novice users of jQuery will be able to benefit from it. Please do respond to the originator's ques

[jQuery] Re: Firebug and jQuery

2009-05-25 Thread kiusau
On May 24, 10:19 pm, waseem sabjee wrote: > after clicking the older image I am redirected > tohttp://www2.gol.com/users/hsmr/emblem/name.html > is this behavior correct ? Yes, this is correct. > throughout these steps firebug did not encounter any JS errors. > > Try pressing CTRL and F5,, thi

[jQuery] Re: Firebug and jQuery

2009-05-24 Thread kiusau
On May 24, 2:17 pm, waseem sabjee wrote: > our link does not work. My apologies. I mis-specified. Please try http://tr.im/hashimori Roddy

[jQuery] Re: Firebug and jQuery

2009-05-24 Thread kiusau
You are welcome to examine the page in question at http://tr.im.hashimori After opening the page, click on the Japanese character in the bottom- left corner, and two images of myself appear. Click on the older image on the left. This page incorporates the jQuery Tooltip Plug-in written by Jörn Z

[jQuery] Re: Firebug and jQuery

2009-05-23 Thread kiusau
Well, at least, until I turn on Firebug, anyway. This is very frustrating, when my sole tool for checking the validity of my webpages is Firefox. Roddy

[jQuery] Re: Firebug and jQuery

2009-05-23 Thread kiusau
Finally, when I load the HTML document up to the internet and try to open it with Firefox, it behaves as it should. Roddy

[jQuery] jQuery Tooltip Plug-in 1.3 Update

2009-05-23 Thread kiusau
I have recently noticed that version 1.3 of the jQuery Tooltip Plug-in does not work with jQuery's version 1.3.2. Is there a patch available? Is there one on the way? Roddy

[jQuery] Re: Firebug and jQuery

2009-05-23 Thread kiusau
I recently found the following fix for the failure code 0x80040111 on the internet, but at a loss about where to place it. http://bytes.com/groups/javascript/503355-how-fix-0x80040111-ns_error_not_available-error The FUNCTIONAL FIX function LoadContent(reqVar,loaderId,divId,url) { if(re

[jQuery] Re: Firebug and jQuery

2009-05-23 Thread kiusau
A second error message that occurs after much run-time has passed. 2ND ERROR MESSAGE Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///Applications/Firefox.ap

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-23 Thread kiusau
re to build. > > To answer you in the format you requested: > 1) Ease of use, transparency, support, documentation, plugins > > 2) = NULL; > > So, that's my two cents, JQuery FTW! > > On May 21, 8:05 pm, kiusau wrote: > > > After a badly needed pause of some length, my

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-23 Thread kiusau
> > of relative popularity of the different frameworks. There is always > > some safety in choosing the "market leader" and if you are going in > > blind with no desire to do an in-depth analysis of each option, then > > choosing jQuery would probably be your saf

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-23 Thread kiusau
of each option, then > choosing jQuery would probably be your safest best. > > IMO, > > Matt Kruse > > On May 21, 2:05 pm, kiusau wrote: > > > After a badly needed pause of some length, my need for sophisticated > > JavaScript has reemerged.  During my departu

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-23 Thread kiusau
aron > Newton has taken up being the public face of mootools.  He recently > wrote an article on jQuery vs Mootools with a somewhat mootoolish > bias, but its a great article: > > http://jqueryvsmootools.com/ > > On May 21, 12:39 pm, kiusau wrote: > > > On May 21, 12

[jQuery] Firebug and jQuery

2009-05-23 Thread kiusau
QUESTION: When the Firebug Script Debugger is enabled, and I open my documents with Firefox, my Console opens to the following block of code (see JAVASCRIPT below), my page fails to load, and an error message is produced (see ERROR MESSAGE below). If I reload the page with the Console still open

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-21 Thread kiusau
On May 21, 12:23 pm, David Meiser wrote: > If you can't bear that thought, just *choose* one.  None of my friends were > using jQuery when I started using it (now I've converted all of them), but I > read an article saying that it was going to be included in ASP.NET MVC and > VS 2010.  So, I gave

[jQuery] jQuery, MooTools, and Prototype - A Comparison

2009-05-21 Thread kiusau
After a badly needed pause of some length, my need for sophisticated JavaScript has reemerged. During my departure I have discovered two other similar JavaScript modules called MooTools and Prototype. With my reemergence I have also realized that all of these require a certain amount of commitme

[jQuery] Re: jQuery problem with setTimeout()

2009-05-10 Thread kiusau
On May 9, 10:06 pm, "Michael Geary" wrote: > Kali, since we're wondering if this is a jQuery problem, let's find out by > taking jQuery out of the equation. Where the code uses jQuery to load the > message into the #mailSuccess element, we'll just alert it instead - but > we'll call alert in exac

[jQuery] The jQuery Prototype Object and Working with Others' jQuery Plug-Ins

2009-05-07 Thread kiusau
QUESTION ONE: When is use of the jQuery prototype object appropriate, and when is it not? BACKGROUND: I am still trying very hard to identify the error that is prohibiting me from incorporating a jQuery plug-in into my site in a manner similar to the way that the author of the plug-in has incor

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread kiusau
On May 6, 8:06 pm, chris thatcher wrote: > 5) learn to depend on firebug. It is Firebug that alerted me to the errors. I was hoping that you could explain them. I am still fairly new to Firebug and so far have net learned how to use it to resolve problems -- only detect them. It is does not a

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-06 Thread kiusau
On May 6, 10:34 am, dhtml wrote: > var time = new (function(x){ >   this.timeStamp = +new Date; >   this.end = new Date(x); // Invalid Date. > })(Infinity); How do you explain that both time.timeStamp and time.end are returned without error in the following: var time = new (function(x){

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 3:13 pm, Rey Bango wrote: > Damn Matt, you should do a wiki page with that content. If he doesn't, perhaps I will, but not until I am entirely in the clear. Thank you for your encouragement. Roddy

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 1:53 pm, Matt Kruse wrote: > > (function($) {$.fn.METHOD_NAME = function() {FUNCTION_CODE}})(jQuery); > > This passes the jQuery object to the internal anonymous function, then > operates on $. It adds a property to the $.fn object, which in jQuery is the > prototype for the jQuery obje

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 11:04 am, Rey Bango wrote: > Another option would be to break down in greater detail the areas that > you'd like better clarity on. Unfortunately, your original message was > quite vague & in terms of helping us optimize our time, you'll need to > make the effort to better verbalize wha

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 9:20 am, Josh Powell wrote: > Try this: > http://www.learningjquery.com/category/levels/beginner?order=ascending Which brings me back to this http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery I am not looking for a cookbook, I am looking for conceptual understanding about

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 8:24 am, Rey Bango wrote: > Great advice Matt. But, no source! Roddy

[jQuery] Re: The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
On May 5, 7:32 am, Matt Kruse wrote: > I recommend studying the javascript language for a while, independent > of jQuery. Understand the core concepts of the language and some of the > trickier > bits like scope, identifier resolution, object methods, and closures. > Play with your own code unt

[jQuery] The jQuery Object, Namespaces, and Program Modules -- Connecting the Dots Between jQuery and Javascript

2009-05-05 Thread kiusau
QUESTION: I am looking for an article that explains the conceptual relationship between jQuery and Javascript. Can anyone point me in the proper direction? BACKGROUND: In my quest to understand why some things in my webpage work while others do not I found the following, very useful article ab

[jQuery] Re: jQ Methods Load Order

2009-05-04 Thread kiusau
Thank you for responding, Ricardo. On May 4, 11:20 am, Ricardo wrote: > My bet is that jQuery and some of the other (many) scripts are colliding, > since the '$' object is being overwritten. I am not sure that I understand when you say that the '$' is being overwritten. Also, this is the first

[jQuery] Calling jQuery Methods and Having Them Execute in a Pre-Designated Order

2009-05-03 Thread kiusau
QUESTION: How does one control the order in which jQuery methods are called and executed when loading a page? BACKGROUND: This question has been simplified from my previous question on load order. As this appears to be a complex issue -- otherwise, it would probably have been readily addressed

[jQuery] Re: $().someFunction(); -- The First Pair of Parentheses?

2009-05-03 Thread kiusau
On May 3, 8:59 am, Ariel Flesler wrote: > Fixed:http://dev.jquery.com/changeset/6334 This link was very useful. It taught me that fn in the following construction means prototype. (function($) { $.fn.someFunctionName function( ) { This functions code block }; })(jQuery); So, when I

[jQuery] Re: $().someFunction(); -- The First Pair of Parentheses?

2009-05-03 Thread kiusau
On May 3, 1:22 am, Klaus Hartl wrote: > $() === $(document) So, if I have understood properly. jQuery must always be told "Where to go!" when called in an HTML document, but knows automatically where to go when called inside another jQuery method in a JavaScript document. Is this correct? Rodd

[jQuery] $().someFunction(); -- The First Pair of Parentheses?

2009-05-02 Thread kiusau
QUESTION: What does the first pair of parentheses indicate in the following statement: $().getBrowserInformation(); BACKGROUND: I have noticed that their presence or absence can make or break JavaScript's acknowledgement of a method's existence on the one hand, but seem entirely unnece

[jQuery] jQ Methods Load Order

2009-05-02 Thread kiusau
QUESTION: How does one set the order in which jQuery methods are called? BACKGROUND: Unlike jQ-Impromptu website (see SOURCES below) that launches jQ-Impromptu with mouse clicks, I would like to launch jQ- Impromptu after my page has completely loaded, but before the user can do anything of his

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-02 Thread kiusau
On May 1, 3:02 pm, waseem sabjee wrote: > new information > $("body").getBrowserInformation is not a function I discovered the source of this error. I found a space in the file name that includes the getBrowserInformation( ) method. When I removed it the method was found and the alert box app

[jQuery] Re: state of the art for corner rounding?

2009-05-02 Thread kiusau
On May 2, 5:21 am, "Richard D. Worth" wrote: > One of the best ones I've seen lately is DD_roundies, by Drew Diller: > http://www.dillerdesign.com/experiment/DD_roundies/ DD Roundies were designed for an IE environment. They do not work well in the Firefox, Opera, and Safari environments. Thi

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
On May 1, 3:00 pm, waseem sabjee wrote: > try adding this code ABOVE the $(document).ready(function() {.. > > var $k = JQuery.noConflict(); > > then replace all the jquery $ signs with $K > let me know if this solved your issue I have done as you suggested off-line, but there was no change. Al

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
This is not really new information, but it is difficult to understand, because the very function that is now giving an error can be shown to work perfectly well in a different context. On May 1, 3:02 pm, waseem sabjee wrote: > new information > $("body").getBrowserInformation is not a function

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
line of code > > > $('body').getBrowserInformation(); > > jQ_Imagine.js (line 122 > > > On Fri, May 1, 2009 at 11:48 PM, kiusau wrote: > > >> On May 1, 2:20 pm, kiusau wrote: > >> > On May 1, 12:18 pm, kiusau wrote: > > >>

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
On May 1, 12:18 pm, kiusau wrote: > This set-up works fine in both of the previously described > environments and has been tested in Firefox, Opera, and Safari. I have just discovered that it does not work well under all conditions. In fact, when I introduced new jQuery code via other ex

[jQuery] Re: Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
On May 1, 2:20 pm, kiusau wrote: > On May 1, 12:18 pm, kiusau wrote: > I have just discovered that it does not work well under all > conditions. I have decided to post the entire site for viewing, as it appears that I have just stepped into a drop-off far over my head. A file cre

[jQuery] Incorporating SVG Roundies Via jQuery

2009-05-01 Thread kiusau
QUESTION: What is the best way to incorporate SVG Roundies into a jQuery controlled webpage? BACKGROUND: Before I began using jQuery the following block of code was included in a

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
SClock = function() { >                           setInterval(function() { >                                // code to get and write time here >                           }, 1000); >                    } > > })(jQuery); > > $(document).ready(function() { >         $('#clock').JSClock(); > >

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
No need for an example! I got it! Roddy On Apr 22, 10:05 pm, mkmanning wrote: > Here's my (working) example online for you to look at: > > http://actingthemaggot.com/test/jquery_example/clock.html > > HTH :) > > On Apr 22, 10:00 pm, kiusau wrote: > > >

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 9:55 pm, mkmanning wrote: > With arguments.callee wouldn't you still lose the original 'this' ? > > Why not a closure, just set 'this' to 'that'. Also, you should return > the jQuery object: Yes, this works! Bravo! Proper use of the setInterval( ) function with this-and-that closure!

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 9:18 pm, Ricardo wrote: > Just add setTimeout(arguments.callee, 1000); to the end of the JSClock > function (after this.html...). That way the function will repeat > itself over and over every second. Before I become too concerned about stopping my clock, I must first get it running.

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 7:49 pm, kiusau wrote: > In and of themselves the above and the following both fail. My guess > is that this.html() object is not a proper reference. Firebug says that this.html() is not a function. This also makes sense -- well, at least to me -- as html() is a jQuery method

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 5:29 pm, James wrote: > Something like the below? > > (function($) { >                   $.fn.JSClock = function() { >                           setInterval(function() { >                                // code to get and write time here >                           }, 1000); >        

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 4:50 pm, Joseph Le Brech wrote: > cant you change your anonymous function for a seperate named function that > takes in the html element name funcclock(elem, interval). > > the fn command can run it once funcclock($(this)); > > the function can then rerun itself with setTimeout("funcn

[jQuery] Re: Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
On Apr 22, 4:40 pm, James wrote: > setInterval should be the solution. How does your implementation with > it look like? As I wrote, I have tried several. The underlying problem appears to be how to call the jQuery method that I have created from within the setInterval( ) function. These do no

[jQuery] Re: Some pseudo help if you'd be so kind?

2009-04-22 Thread kiusau
On Apr 22, 3:00 pm, ldexterldesign wrote: > I really wanna be able to understand that regex - any hints? Looks > interesting! I do not know how to make use of regular expression within the context of JQuery, as I am still quite new to the jQuery environment. JQuery methods and Javascript functi

[jQuery] Infinite Recall Over a Fixed Interval

2009-04-22 Thread kiusau
QUESTION: How do I get a function to repeat itself an unspecified number of times? BACKGROUND: I have created a digital clock with which I very satisfied except for one shortcoming: it displays only once and stops ticking. The only way to keep track of the time is to refresh the page. I have

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 22, 4:29 am, George Adamson wrote: > You may also like to try using jQuery's.each method. Something like: > var flowerColor = {rose: "red", tulip: "pink", daffodil: "yellow"}; > $.each(flowerColor, function(flower,color){ >   this.append("Flower name and color: " + flower + ":" + color +

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 21, 10:58 pm, Jake wrote: > document.write() means writes to the root of the DOM, aka. the > `document'. it is a JavaScript built in Object.http://www.comptechdoc.org/independent/web/cgi/javamanual/ javadocumen... Thank you for the additional reference. I usually depend on W3Schools to g

[jQuery] Re: Assigning a List of Key-Value Pairs to a Tag

2009-04-22 Thread kiusau
On Apr 21, 10:24 pm, mkmanning wrote: > .html() overwrites the innerhtml for that element. Try .append(). Changing the statement this.html( ); to this.append( ); fixed the problem and produced the result for which I was looking. Many thanks. Roddy

[jQuery] Assigning a List of Key-Value Pairs to a Tag

2009-04-21 Thread kiusau
QUESTION: Is it possible to use the for-in statement to list all of the key:value pairs of an object in a tag? BACKGROUND: The following code (see SOURCE CODE below) writes only the sentence: "Flower name and color: daffodil:yellow." The key:value pairs rose:red and tulip:pink appear to be

[jQuery] Re: jQuery, Dreamweaver Templates, and Documents Produced Thereof

2009-04-21 Thread kiusau
This is, indeed, very good news. I was afraid that I might be wasting a lot of time learning jQuery, or had wasted a lot of time building my Dreamweaver template. My fear was for nought. Also, I have learned that not many jQuery users use or are very interested in Dreamweaver. So, I am pretty l

[jQuery] jQuery, Dreamweaver Templates, and Documents Produced Thereof

2009-04-20 Thread kiusau
Can jQuery be used to manipulate uneditable document objects in an HTML/XHTML document produced from a Dreamweaver template? If so, is there a special script required to unlock them? Similarly can jQuery be used to manipulate editable objects? If so, are special scripts required to access them?

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-16 Thread kiusau
> document.ElementById has a bug in ie6 and ie7 that will return an > element with a name attribute of the same value.  Use $('#today') > instead. Got it. Thanks! > todayEl.innerHTML = "something" can cause memory leaks if events are > added to DOM objects inside of todayEl and then just written

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-15 Thread kiusau
> If you want to format a local date, . . . > > var todayEl = document.getElementById("today"); > todayEl.innerHTML = formatDate(new Date); // [1] > [1]http://www.jibbering.com/faq/#formatDate This also worked, but produced a format very different from that required by the context in which the

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-15 Thread kiusau
Thank you for the warning with regard to the use of the document.write statement and the alternative format for writing text to an HTML document. It will likely prove invaluable in the future. Roddy

[jQuery] Re: Calling a function from a non-jQuery .JS file

2009-04-15 Thread kiusau
With minor modifications I was able to achieve my goal with the sample code that you provided. So that I do not feel compelled to ask this question could you confirm or disconfirm whether the below statement is correct. In order to create a jQuery method from a JavaScript function not encoded i

[jQuery] Calling a function from a non-jQuery .JS file

2009-04-14 Thread kiusau
I am new to jQuery, but understand enough to have already begun targeted experimentation. I have run into a snag. In brief, I am trying to call a function from a .JS file that contains no jQuery and assign it to an HTML tag in a Dreamweaver template via jQuery that is located in a different .JS