If you have target browsers dating back to IE8 or before, one can be magnitudes more productive using jQuery as opposed to ninja-hacking the DOM to work. Most people using jQuery are not capable of...
I think your teacher is testing to see if you remember how to compare things without caring about different case characters. In other words, if the user guesses "football", your current script has...
Are you using AJAX to upload the file, or a regular form that submits to an ASP page?
If AJAX:
There is a ninja technique in order to do this, it is not intuitive. I won't get into it unless...
Very possible, and simple, too. Except for trying to make cash-values in JS, which is a little weird.. I did so by converting the end result to a string and assuring it as 2 numbers in the cent spot,...
Um, JavaScript goes in <script> tags, for starters. Not in <head> and not in "onchange" attribute. You can put some js in onchange, according to web browsers.. but don't.
Here, I think, is what you want:
http://jsfiddle.net/9PkZR/
It separates words by spaces or commas, and removes any chars besides letters/numbers/spaces/commas before searching.
It can use some...
Move the id "actualDays" to a span/label/ or what you want, and use innerHTML instead of 'value' to change the text/html of that element.
http://jsfiddle.net/3A6fJ/
Sounds like you're too lazy to go through the code, make changes and simplify the source yourself. What makes you think anyone here would want to do it for free? If you would like to pay somebody you...
strEscaped is not changed in your code. So for example the first time u make newstrchanged it might have the value of strEscaped with no quotes. The second time u make newstrchanged, it will still...
That's a very tricky error. JavaScript doesn't support multiline strings. You can use \ to escape the newLine character, but that makes code very unstable imo. I mean, yeah, that's not good to use...
You use 'on' as $(document) instead of $('input:text') and then you use 'input:text' as the second argument to on() when you use the object syntax like that. It's cool, actually. Nice job jQuery:...
Here is the embed version, http://jsfiddle.net/bbg7B/1/embedded/result/
I don't know what you mean, I don't see a link 'display' but if you are seeing what I see when I click the link, there is 4...
don't use inline style in html.. use javascript and css for repetitive things like this, for example, give them all a class of 'thumb', and use jQuery to go through each one and implant a url style...