<script type=”text/javascript”> tinyMCE.init({ // General options mode : “exact”, theme : “advanced”, elements : “textareaID”, height: 500, …………………
Category Archives: JavaScript – Ajax
Javascript Hiding Scrollbars
document.body.style.overflow=”hidden”; and document.body.style.overflow=”visible”;
display an object inf javascript
Here’s how to show the contents of a object in Javascript function concatObject(obj) { str=”; for(prop in obj) { str+=prop + ” value :”+ obj[prop]+”\n”; } return(str); }
Easy Display Switch with CSS and jQuery
Today, I would like to go over a quick and simple way to allow your users to switch page layouts by using CSS and jQuery.
Javascript Confirm Form Submission
Javascript Confirm Form Submission Many times you may wish to have the user confirm, before they process a form’s action. For instance, clicking the button may activate a deletion process which you wish to have the user confirm before proceeding. This code allows your users to confirm whether they wish to proceed when processing a …
Javascript confirm Yes/No
Use a javascript confirm box to ask the user if they want to delete