by Cimb | 10/10/17 | 1 Answers | Tags : jQuery , Javascript Views : 364
form is submitting on Enter keypress but i want it submit by JavaScript. so when enter keypress Javascript function should be call

Read more

by yogi | 10/06/17 | 1 Answers | Tags : jQuery , Javascript , HTML , button , radio Views : 123
how to get value of checked radio button ?

Read more

by sachin | 22/05/17 | 0 Answers | Tags : jQuery , Javascript , PHP , Wordpress , AJAX Views : 133
above is simple code for getting list of the state from the country . used jQuery for ajax but how to implement with wordpress ? how to make server side file which respond to ajax request . and how to embed ajax javascript to Wordpress front page ?

Read more

by pratik | 10/02/17 | 2 Answers | Tags : jQuery , Javascript , HTML , JavaScript-Framework , div Views : 276
How to replace innerHTML of a div using jQuery?

Read more

by yogi | 31/01/17 | 0 Answers | Tags : jQuery , Javascript Views : 267
XMLHttpRequest cannot load javascript:;. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

Read more

by yogi | 31/01/17 | 1 Answers | Tags : jQuery , Javascript , HTML , XHTML , textarea Views : 633
How to get selected text of Textarea in JavaScript ? is there any getSelectedText() function in JavaScript or jQuery , which return me only selected text , not whole text of textarea ?

Read more

by | 23/01/17 | 1 Answers | Tags : jQuery , Javascript , Window.load , document.ready Views : 144
what is the difference between window.onload (JavaScript) and $(document).ready() (jQuery) ? is there $(document).ready() is that extended version of window.load ? which is one better to use when we need some action in JavaScript after page loading.

Read more

by kalaiselvan | 20/01/17 | 2 Answers | Tags : jQuery , Javascript Views : 297
what are the other alternative of element selection at html Dom in JavaScript except $("#id") or $(".class") i know that i can use id and class in jQuery to select by $("#id") or $(".classname") and make it operation on it like show or hide or change css etc.. but i want do it in pure JavaScript why i am not using the jQuery . its only because i just need selector for hide a div for onload nothing more so its not good to use for just jQuery . it can be done also in pure JavaScript

Read more

by sachin | 14/01/17 | 1 Answers | Tags : jQuery , Javascript , encode , url-encode Views : 165
how to encode in JavaScript ? how to do base64encode , encode , url encode in JavaScript ?

Read more

by shabi | 14/01/17 | 1 Answers | Tags : jQuery , Javascript , lazy-load , delay-in-html-load Views : 124
if you see above code , i made function AutoChangeImage() to change image but i need it should be change image after 2 second and i used for loop to delay it for 2 second for(d=0;d<=2000;d++){ //delay } i am thinking each iteration take one millisecond . i do not think its good way to use for loop to delay it .not good at JavaScript so suggest something more better

Read more

by lain | 14/01/17 | 3 Answers | Tags : jQuery , Javascript , private-property Views : 295
how to set private property in JavaScript ? trying to make private property name in Product i able to delete product.name . it means its not private key so how to set private property in JavaScript ?

Read more

by sarah | 09/01/17 | 2 Answers | Tags : jQuery , Javascript , redirect , url-redirect Views : 146
How to redirect one to another page in JavaScript ? what is the best code to do redirection one page to another in JavaScript ? is jQuery or dojo or any other framework do redirection best or pure JavaScript is enough ?

Read more

by shabi | 09/01/17 | 0 Answers | Tags : jQuery , Javascript Views : 89
on the click of the content displaying textarea to edit the content. now want to remove textarea on click outside of the textarea ? how to detect outside click for an element in jQuery ?

Read more

by yogi | 09/01/17 | 1 Answers | Tags : jQuery , Javascript Views : 53
in jQuery .hide() used to hide element .show() used to show element .toggle() used to show/hide element but is there a function which used to check is element hidden ? or is element already visible ? i mean before to use .show() , .hide() , want to check isHidden() or isVisible() for element in jQuery ?

Read more

by web-api | 04/01/17 | 5 Answers | Tags : jQuery , Javascript , Url Views : 800
how to get current URL by JavaScript or by jQuery suppose i am browsing http://www.example.com/direct/json.html#hash_value it i should get value of Url exact :: http://www.example.com/direct/json.html . if there is #hash_value than it should be removed.

Read more

by yogi | 04/01/17 | 1 Answers | Tags : jQuery , Javascript , MooTools , JavaScript-Framework , Url , Query-String Views : 128
How to get Query String from URL at JavaScript or any framework like jQuery , Mootools .i want to avoid extra over head of bytes so i want to keep it with JavaScript core . but if easy to do with framework or plugin . i can try it out .

Read more

by web-api | 30/12/16 | 1 Answers | Tags : jQuery , latest Views : 156
how to get latest jQuery from GOOGLE CDN or any other source. suppose when new version of jQuery release . it should auto load latest jQuery. so is there any way it auto load latest jQuery from google cdn or any other source

Read more

by fatso | 19/12/16 | 0 Answers | Tags : jQuery , Javascript , PHP Views : 120
for some reason i want to auto submit form by JavaScript following is HTML FORM for add to cart page. how to auto submit FORM without any action like clicking button or without other trigger or action by user ? Form should be auto submit without any action . open for JavaScript or jQuery code.

Read more

by jignesh | 19/12/16 | 1 Answers | Tags : jQuery , Javascript , HTML Views : 145
How can i hide / disable submit button at form until input type file is empty.

Read more

by jqueryLearner | 10/12/16 | 1 Answers | Tags : jQuery , Javascript , select2-js Views : 199
using - jQuery for selection boxes and using multiple selection its region dropdown where i want to select more than region at a time. find("input") is giving me hidden input created by select2 . but on change event not giving value on change. same as for click event. it not giving any alert. i put alert for just demo purpose but i want to send ajax request to server to get more result on based on the selection.

Read more