« first day (2259 days earlier)   
00:00 - 10:0010:00 - 12:00

10:01 AM
@AbdulWaheed So you know the answer or its a question ?
 
@AbdulWaheed Eh, if it's mandatory to have one checked, why aren't you using radios?
Then you don't need any javascript for validation.
 
Does anyone know a less popular site where I could upload a zip ? I am trying to workaround, so I don't have to waste 6 hours waiting for permission to upload something.
 
@BenFortune the reason i kept check box is there is another functionality running with it which is i select GD check box it will show at one place same like PI
 
@AbdulWaheed I don't even understand your question "So my question is for every skill GD (or) PI (or) both checkboxes has to be mandatory.(Atleast one checkbox has to be selected) how can i achieve that.? this is my html:" What does that mean ?
both checkboxes has to be mandatory but atleast one selected ?
 
GD is group discussion PI is personal interview
Every skill has to be mapped for atleast one or both (GD or PI)
understood.?
 
10:06 AM
@AbdulWaheed What...?
 
GD is group discussion ; PI is personal interview
Every skill has to be mapped for atleast one checkboxe(GD or PI)
 
@AbdulWaheed got it
That sounds easy
 
yeah
how
 
@AbdulWaheed um do you have a fiddle ?
 
10:09 AM
Make one
 
i tried but im not getting it
 
@AbdulWaheed anything atleast a dummy one ? use this site jsfiddle.net and save and give us the url
 
When I am using splice on array with two elements it returns an empty data (reading the main array variable) but when performing the same task on more than two elements it returns perfect...why ?
 
@BenFortune He wants each group of checkboxes to have at least one checked
#skill[0][gdskill] what is this selector supposed to be?
 
he basically just needs to loop around and check it like this
if(checkbox1.val() || checkbox2.val()) {
  return true;
} else {
  return false;
}
 
10:17 AM
@FlyingGambit checkbox.is(':checked')
 
@AbdulWaheed Your answer should have been an update to the question
@BenFortune what is ".is"
 
Is that ID even valid?
 
actually it is in add more functionality
it is valid
 
@AbdulWaheed It's not.
> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
They may not contain square brackets.
But that's beside the point.
 
10:22 AM
man those elements have weird names and ids
@AbdulWaheed is it mandatory to keep such names ?
 
@FlyingGambit Names are fine
Though name="skill[0]" value="gdskill" would probably be better.
 
would have been easier if all similar checkboxes had same name
 
10:38 AM
@AbdulWaheed Have you tried searching for something like "checkbox at least one checked"?
There are dozens of solutions out there already.
 
0
Q: addEventListener repeats itself

EnissI click <a>, it shows its id, but if I click the <a> again, it shows alert()twice, if I click it again, it shows alert() 3 times and it goes like that. How can I prevent repeating itself? <a id="5" class="accRoom" onclick="dynamicLink()">5</a> <a id="6" class="accRoom" onclick="dynamicLink()">6</a>

What?
 
RaR
Anyone here who knows about ssl certificates and stuff. I am trying to establish a https connection and getting some error because of certificates
 
@RaR Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@RaR Go on
 
RaR
10:53 AM
we are given some certificates to connect with a server over https, but when trying to establish connection, getting 'unhandled critical extension' error
 
Um should I answer his question ?
Btw srinivas gowda's answer is also right
@AbdulWaheed ^
 
Ew, for loops
 
@RaR That pretty much leaves out any relevant information regarding the problem
 
RaR
@OliverSalzburg I have posted a question, but no answers yet stackoverflow.com/questions/41265003/…
 
@RaR The way you're describing it, it sounds like you're using client certificates, not server certificates
 
10:57 AM
@FlyingGambit thank you man i appriciate your answer can you post in answer so that i can accept
 
@AbdulWaheed I think it can be improved, Ben has some idea
 
RaR
@OliverSalzburg To establish connection we are using a ca-chain certificate, a client certificate and client key given by them.
 
@BenFortune Can you show us how to write such a selector
 
Well, jquery has .each
 
@FlyingGambit i am getting small troble
 
11:01 AM
@BenFortune that is as good as a loop, it uses a function and is slower isnt it ?
@AbdulWaheed whats the trouble
 
i have different table in that page i think "var tr" is overriding so the alert is not working fine
 
then use it like this var rows = $(".tableClass tr");
 
okay let me try
 
you will need to give a class to your table
I hope you understand the code
jsperf is dead >.<
 
probably definitively
 
11:07 AM
is javascript slow?
 
@GustafLinder Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@DenysSéguret thats an oxymoron
@GustafLinder compared to what ?
 
compared to general web development technologies
 
@BenFortune Your hat looks like a banana on your face ^_^
 
@FlyingGambit Are you confusing "definitely" and "definitively" ?
 
11:11 AM
@DenysSéguret I think I did, silly me
 
BTW, how can you get a banana on your face in SO? (no homo)
 
!!definitively
 
@FlyingGambit That didn't make much sense. Use the !!/help command to learn more.
 
!!urban definitively
 
@FlyingGambit No definition found for definitively
 
00:00 - 10:0010:00 - 12:00

« first day (2259 days earlier)