Click here to Skip to main content
15,891,657 members
Home / Discussions / JavaScript
   

JavaScript

 
Questiondevextreme mobile apps call webmethod return only html source code Pin
Member 938843524-Jun-14 16:29
Member 938843524-Jun-14 16:29 
QuestionI am having problem invoking form fields from my js. Any ideas? Pin
samflex24-Jun-14 4:32
samflex24-Jun-14 4:32 
AnswerRe: I am having problem invoking form fields from my js. Any ideas? Pin
Pablo Estrada24-Jun-14 4:57
Pablo Estrada24-Jun-14 4:57 
GeneralRe: I am having problem invoking form fields from my js. Any ideas? Pin
samflex24-Jun-14 5:11
samflex24-Jun-14 5:11 
GeneralRe: I am having problem invoking form fields from my js. Any ideas? Pin
Pablo Estrada30-Jun-14 7:01
Pablo Estrada30-Jun-14 7:01 
Questionproblem to enter to fullscreen mode when playing video using addEventListener Pin
Asaf Shay21-Jun-14 22:25
Asaf Shay21-Jun-14 22:25 
QuestionJavascript code to automatically check the checkbox of duplicate record in gridView Pin
Member 1048440017-Jun-14 20:41
Member 1048440017-Jun-14 20:41 
AnswerRe: Javascript code to automatically check the checkbox of duplicate record in gridView Pin
Raviranjan_Kumar_Sinha18-Jun-14 1:30
Raviranjan_Kumar_Sinha18-Jun-14 1:30 
Hi,

Lets assume that you want to do on Name so if check one checkbox with Name Ravi and there are 3 record with Name Ravi then all 3 checkbox should get checked,

so you can do like below, lets say that you are having checkboxes

<div id="mainGridDiv">
<input type="checkbox" value="<Name>"/>
<input type="checkbox" value="<Name>"/>
<input type="checkbox" value="<Name>"/>
</div>

JQuery Code
$("#mainGridDiv input[type=checkbox]").change(function(){
var currValue = $(this).val();
$("#mainGridDiv input[type=checkbox]").find("[value='"+currValue+"']").attr("checked",$(this).checked)
});

NOTE:Assuming checkbox is one column of your grid.

Thanks
Raviranjan
QuestionJavascript Regex validation Pin
Arunkumar.Koloth9-Jun-14 19:36
Arunkumar.Koloth9-Jun-14 19:36 
AnswerRe: Javascript Regex validation Pin
Kornfeld Eliyahu Peter9-Jun-14 23:14
professionalKornfeld Eliyahu Peter9-Jun-14 23:14 
GeneralRe: Javascript Regex validation Pin
Arunkumar.Koloth9-Jun-14 23:25
Arunkumar.Koloth9-Jun-14 23:25 
AnswerRe: Javascript Regex validation Pin
Kornfeld Eliyahu Peter9-Jun-14 23:42
professionalKornfeld Eliyahu Peter9-Jun-14 23:42 
GeneralRe: Javascript Regex validation Pin
Member 1173096331-May-15 4:55
Member 1173096331-May-15 4:55 
Questionjquery and mootools Pin
Member 94738096-Jun-14 20:10
Member 94738096-Jun-14 20:10 
AnswerRe: jquery and mootools Pin
Kornfeld Eliyahu Peter9-Jun-14 20:25
professionalKornfeld Eliyahu Peter9-Jun-14 20:25 
Questionunable to get property 'childnodes' of undefined or null reference Pin
Member 105519074-Jun-14 5:01
Member 105519074-Jun-14 5:01 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
ZurdoDev4-Jun-14 7:07
professionalZurdoDev4-Jun-14 7:07 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
Kornfeld Eliyahu Peter4-Jun-14 9:00
professionalKornfeld Eliyahu Peter4-Jun-14 9:00 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
Raviranjan_Kumar_Sinha19-Jun-14 0:41
Raviranjan_Kumar_Sinha19-Jun-14 0:41 
AnswerRe: unable to get property 'childnodes' of undefined or null reference Pin
Anlige2-Sep-14 20:44
Anlige2-Sep-14 20:44 
QuestionHow to increment the Left value using Javascript? Pin
Nallusamy Subramanian29-May-14 21:44
Nallusamy Subramanian29-May-14 21:44 
AnswerRe: How to increment the Left value using Javascript? Pin
Peter Leow29-May-14 22:00
professionalPeter Leow29-May-14 22:00 
Questionif vs switch statments Pin
[NOPE]FOREV3R29-May-14 19:51
[NOPE]FOREV3R29-May-14 19:51 
AnswerRe: if vs switch statments Pin
Sanjay K. Gupta29-May-14 20:49
professionalSanjay K. Gupta29-May-14 20:49 
AnswerRe: if vs switch statments Pin
Manikandan1030-May-14 15:55
professionalManikandan1030-May-14 15:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.