code Archive
-
Render a PHP code using jQuery
Posted on November 5, 2011 | No CommentsI got this problem rendering or making a php code functional using jQuery. huhu. Can someone help me? Heres the code I wanted to do: document.getElementById(“fade”).innerHTML = ‘< echo ‘SOME-PHP-CODE-HERE’;... -
jQuery guru’s, can this code be simplified?
Posted on November 1, 2011 | No CommentsLive demo: http://jsfiddle.net/stapiagutierrez/KKdsb/29/ I’m just trying to create my own star rating UI for websites and so far it works just how I want it to, but I’d like to... -
Accessing newly created element in code
Posted on October 31, 2011 | No CommentsI’m trying to implement sortable lists in JQueryUI and I have it working for the most part in my code (based on this demo). The problem with the demo version... -
Retrive values from jQuery to C# Code
Posted on October 31, 2011 | No CommentsI have a jQuery script like this: var sList = ""; $ ('input[type=checkbox]').each(function () { var sThisVal = (this.checked ? "1" : "0"); sList += (sList=="" ? sThisVal : ","... -
jQuery plugin with the best code
Posted on October 28, 2011 | No CommentsI wrote few own extensions and went through code of quite a few plugins but I would like to learn the best way to write robust and clean jquery extension/plugin.... -
Empty block in jQuery code
Posted on October 27, 2011 | No CommentsLine 4140 of jQuerz 1.7rc1: while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} This is weird to my eyes. Is it equivalent to while( elem && elem.nodeType... -
Modify Code That Changes words on keystroke to work in contenteditable instead of textarea
Posted on October 25, 2011 | No CommentsIf have this code here: $ (function() { $ ("#a").keyup(function(e) { var updatedText = this.value.replace( /(^|[^>])(hello)($ |[^<])/gi, "$ 1<b>$ 2</b>$ 3"); if (updatedText != this.value) this.value = updatedText; }); });... -
Stop Running javascript code on jquery
Posted on October 24, 2011 | No CommentsHow can i stop runing code. For example when run 5 lines code. stop 3 second and then its continue. on jquery newest questions tagged jquery – Stack Overflow -
Are there any wysiwyg editors for simply raw code?
Posted on October 22, 2011 | No CommentsI’m trying to find some jQuery/JavaScript wysiwyg editors that are simply made specifically for editing raw code. Don’t need any formatting and needs to only accept plain text. The most... -
Jquery – Run code when a person types so many characters?
Posted on October 13, 2011 | No CommentsI have a form field that a person enters a telephone number. When they are done adding the telephone number, limited to 10 characters, I want to fire off some...