Posts tagged with javascript:

Smoothly rotate arrow image on click - CSS and Javascript toggleHow to smoothly rotate arrow image by 180 degree, when I click on the link ? I am looking for a simple CSS and Javascript toggle solution.

Meaning of Default, Preset, Fallback, Callback, Rollback value - differenceWhat is the meaning of Default value, Preset value, Fallback value, Callback value and Rollback value in software development ?

Set cookies to expire in hours, minutes, seconds - JavascriptI am using a javascript function, that allows to set after how many days cookies should expire: var date=new Date(); var expirydays=30;...

Javascript event.keyCode, event.charCode & event.Which - differenceWhat is the difference between javascript functions event.keyCode, event.charCode and event.Which ? Should I use all of them to get the key codes ?

onSubmit return false not working - submit form by JavascriptI need to submit the form by using Javascript, but it seems the functions in onSubmit event don't work. When I click on Send link, the form is submitted, but I will not...

How to add new line breaks in textarea using Javascript ?Would you please give me advice how to dynamically insert a new lines in textarea ? I tried to add <br /> and later \n but it doesn't work.

Simplest way to check if cookies are enabled or disabled - JavaScriptHow can I make a simple check if cookies are enabled or disabled, using JavaScript ?

Check if document getElementById or getElementsByName existsHow can I check if input field or other element exists by using document.getElementById or document.getElementsByName, before trying to get values ?

How to get text with preg_match and Regex in Javascript ?I need to extract text value like I usually do with preg_match() in PHP. But now I need to do it in Javascript. Can you please give me advice and example how to make it work...

JavaScript, JSON and jQuery - differenceWhat is the difference between JavaScript, JSON and jQuery ? Are JSON and jQuery based on JavaScript ?
2026 AnswerTabsTermsContact us