Algortihm to determine weak/good/strong password
Open source javascript algorithm to feedback user on the quality of the password he is choosing. ...
Open source javascript algorithm to feedback user on the quality of the password he is choosing. ...
I have three radio buttons and 4 check boxes. I want to preserve the radio button and check box values after the browser refresh. I do not want to use cookies (due to some other reason). Could anyone please help me? ...
How do you I stop my links like this: <a href="#" onClick="submitComment()"> From jumping to the top of the page after the click? ...
I have a flash object that I am trying to show and hide along with the rest of my hidden div. Without the flash object, the hidden div works great. When the page loads, this style keeps the div hidden: <style> div {display:none;} p {display:none;} div p {display:none;} </style> But when I add the flash object it always appears. <div ...
In the flowing javascript code there is one $(window). What does it mean??? $(window).bind('load', function() { $('img.protect').protectImage(); }); ...
Hello, I use the below script to allow visitors to my page to increase / decrease the font size (or restore the font size to its default setting). Does anybody know how I could get each page to retain the increased/decreased font size of the previous page? Currently, when a visitor adjusts the font size and goes to another page the fo...
Hey people I'm seeking an js menu like the link below. http://www.mtv.com/mtv2/ jQuery would be a plus! ...
I have a few lists that are displayed as inline-blocks, creating the illusion of rows. Unlike tables, I cannot format rows straightforwardly. I want to apply a background color to each < li > in the row when one is hovered over. Is this possible through CSS and names/IDs? Thanks. Mike CLARIFICATION: After reading the answers, I reali...
I am starting to delve into the world of webOS and the Mojo SDK and having a great time so far, but I find myself having to constantly take a detour and read up on different subjects such as JSON, JavaScript, etc. I realize now that instead of diving in head first I probably should have done some reading on the core technologies behind ...
I generally test my web apps with Firefox and use Firebug. I love Firebug. But when I'm testing JavaScript code in IE I use the debugger in Microsoft's Visual Web Developer 2008 Express Edition. I would love to have an equivalent to Firebug's console.log methods which would allow me to log messages to Visual Web Developer. Any way to log...
I am trying to make a sort of "scales" look, where two divs will slowly animate up and down like being weighed on a scale. I could use some help with the functions though please, I can not get two to animate simultaneously on page load, and I need them to go up, then back down, then up, etc... Make sense? Here is what I have so far, I a...
function validation(reg) { str = document.reg; if (str.name.value == "") { alert("Enter your name"); str.name.focus(); return false; } Validation will working fine if input is empty. Problem User can enter a blank space on the first. Also user can enter space only on the name. How to prevent it...
I am using CSET, a library for Unicode character classes for Javascript. It loads fine in Firefox, IE8, and Opera, but fails in Google Chrome and Safari 4 with a syntax error. Strangely enough, the syntax errors are different. From cset_production.js: Safari SyntaxError: Parse error (line 255) CSET=function(){ // ... var g=this ret...
a:link {color:#FF0000} /* unvisited link */ a:visited {color:#00FF00} /* visited link */ a:hover {color:#FF00FF} /* mouse over link */ a:active {color:#0000FF} /* selected link */ The pseudo-classes (link, visited, hover, active) don't do exactly what I want which is to highlight the last-clicked link on a page to be a different color ...
I'm confused about scrollTop(). jQuery docs say it should be displaying a number that represents the scrollTop offset for a given element, but as it does in my own script, on their demo it returns "0". Setting the scrollTop manually works great, as does using the $(window).scrollTop() command. Does scrollTop() ONLY return values asso...
Hi, I like Google Web Tookit API approach. It use Java language behind the scenes that compiles ONLY JavaScript code WHOSE TARGET BROWSER NEEDS. It happens some developers would like to use that feature in pure JavaScript language. Anwser: WHAT COULD WE SUGGEST in order to fullfill this requirement ? I suggest to use JavaScript comme...
Hi All, I am now to MVC F/W. I developed an application where i need to Open a new URL (WHich comes from other server) I developed and it worked in my Local Machine ... But when i try to run on DEV Machine it alwsys asks userID and Password. Is it anything related to Credientals of the URL Opened. (I am able to open it when ...
I'm confused about when you should use event delegation as opposed to out-of-the-box JQuery event handling. I'm always tempted to use an event handler because it's so easy in JQuery: For example: $("button#submit").click(function () { $(this).css("disabled", "true"); }); Event delegation is not really that much more compl...
Hi, I'm hoping someone can point me in the right direction with regards to achieving this effect from Mozilla Firefox, when clicking on a video thumbnail as I would also like to achieve this with photos as well, i.e, See:> http://en-gb.www.mozilla.com/en-GB/firefox/3.5.1/whatsnew/ and click on the thumbnail play button. Thanks. Tony....
Hi, There is a solution called "Fragment Id Messaging" to solve cross domain communication by setting parent.location with extra texts followed by "#" from child iframe, it works. However, if the parent itself is embedded as an iframe in another page, parent.location setting seems denied by browsers... Is this true? If yes, is there a w...