I'm using jQuery to pull a file asynchronously. I want to then sum the total of lines in that file that begin with "/". The file is a cache manifest and looks something like this...
...
I'm looking at a pretty big project and I'd like to use it as a learning experience. Most of my time in Javascript has been with some sort of inheritance and usually via a library like PrototypeJS or...
does anyone have any experience with complex skip logic? i'm building a medical survey application a couple of the forms are pretty tricky. It's all radio buttons/checkboxes that can influence...
I have a form on a site and I need to put up a warning message anytime someone tries to navigate away from the page ("all data will be lost..." etc). It would of course need to apply to all links on...
P.S. I've tried "clearTimeout(PeriodicalTimer);" at http://www.360innovate.co.uk/blog/periodical/ but it doesn't work for me at all...i'm scouring the 'net for the solution, but everything i try...
Thanks for the updated code. It's working as you described it would in FireFox. For some reason it's not working in Safari. Is there a trick to make it more cross-browser?
Thanks Eric...i feel like a real idiot for not seeing that one. :P Now it's loading correctly, however the sortMulti() function doesn't seem to be having any affect on my array...
Thanks for responding guys. I'm trying to do a basic proof of concept and it's not working for me. I know i'm overlooking something simple, but i can't put my finger on it. Getting the generic...
I'm trying to write a script that will alter form elements on DOM load (by wrapping them in <div>'s etc) so i have more flexibilty in styling them. I'm attempting to do this in a way that's...
i'm using a javascript framework that doesn't format (for obvious reasons) the html it generates. However, for troubleshooting i commonly need to review the document's structure. I would like to...