December 4th in Javascript by .

30+ Best jQuery Tutorials & Plugins for Beginners

jquerybest

JQuery is the best ajax scripting library i have ever seen and it makes life so much easier. Jquery is not just powerful and the library code is very well documented. The are tonnes plugins available for jquery which makes jquery so much fun.  If you are getting started with …

July 15th in Javascript by .

Quick & Easy Form Validation Tutorial with JQuery

jquery

Form validation has become never been easy like before. If you havent heard of jQuery, then its time to get know now. Jquery is an open source set of javascript library, that brings user interactivity in web applications so easy even for a beginner with just few lines of code.

In …

July 13th in Javascript by .

how to strip special characters with jQuery form validation!

JQuery form validation – How to remove special characters!

i was using a jquery form validation plugin and it was so easy in validating a form. I was stuck in a scenario where i want users to register userID and i dont want them to enter special characters like dots …

July 12th in Javascript by .

how to reload/refresh a page with jquery?

how to reload/refresh a page with jquery?

Its very simple.

Lets say you have a button refresh all, which basically does reloading the page when you click it. Here is the code

// use location.reload() in jquery to reload a page within onclick
<input name="doRefresh" type="button" id="doRefresh"
value="Refresh All" onClick="location.reload();">

Share:StumbleUponPrint

July 12th in Javascript by .

Fix-> JQuery onclick browser jumps to top of page!

JQuery onclick jumps to top of page

i had an issue with jquery code where i have a html link doing specific tasks for onclick event. Since the appear on bottom of my page, when i click on the link the browser jumps to top of the page every time i …

July 12th in Javascript by .

how to call a php script from javascript?

how to call a php script from javascript?

I have always wondered how to call a php script and send GET data from javascript code. It was very important for me as in many projects i have worked i never wanted to header redirect to original php page after delete, edit …

July 2nd in Javascript by .

how to check if image loaded or not in javascript?

how to check if image loaded or not in javascript?

If you are having a webpage with large sized images, you would notice the browser taking long time to load those images and showup. A good idea would be show a loading animation until large photos load.

There is a way to …

July 2nd in Javascript by .

how to change div content in javascript?

how to change div content in javascript?

Its very easy to change the contents of div in javascript. Just get the object of div using getElemementbyID() or getElementbyName() and use innerHTML property with the new value.

divObj = document. getElementbyID("mydiv");
divObj.innerHTML = ‘<p>This is a html code</p>’;

One important thing to note is, …

February 18th in Javascript, PHP Scripts by .

Best Free Web based WYSIWYG html editors

markitup.PNG

Best WYSIWYG HTML Editors

I have been searching for some of best web based html editors written in javascript so that i can integrate it with my scripts. I have found pretty nice open source wysiwyg editors so i decided to blog it here.

Please note that some of the editors are …

December 24th in Javascript by .

Fix -> Caret/Cursor jumps to start of textarea in javascript

I was working on a javascript bbcode editor (textarea based) and often if the textarea contents are long and automatic scrollbars are enabled. If i replace selected code in textarea using javascript often the cursor jumps to start of the textarea and focus is lost. This problem only happens in …

 Page 1 of 2  1  2 »