Click here to Skip to main content
15,895,462 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: How do I make a pop-up window in JavaScript? Pin
Peter_in_278021-Feb-18 17:16
professionalPeter_in_278021-Feb-18 17:16 
AnswerRe: How do I make a pop-up window in JavaScript? Pin
Richard Deeming22-Feb-18 0:40
mveRichard Deeming22-Feb-18 0:40 
Questionhow to add col dynamically using js and html Pin
Member 1368695921-Feb-18 1:03
Member 1368695921-Feb-18 1:03 
AnswerRe: how to add col dynamically using js and html Pin
Richard MacCutchan21-Feb-18 2:03
mveRichard MacCutchan21-Feb-18 2:03 
AnswerRe: how to add col dynamically using js and html Pin
ZurdoDev21-Feb-18 9:02
professionalZurdoDev21-Feb-18 9:02 
QuestionUsing JQuery on and off for events Pin
jkirkerx20-Feb-18 13:17
professionaljkirkerx20-Feb-18 13:17 
AnswerRe: Using JQuery on and off for events Pin
Richard Deeming21-Feb-18 8:07
mveRichard Deeming21-Feb-18 8:07 
GeneralRe: Using JQuery on and off for events Pin
jkirkerx22-Feb-18 7:31
professionaljkirkerx22-Feb-18 7:31 
I found out many events where in flight while the primary event occurred.
Then my code went crazy and started affecting others like Jquery.validation.
Learned you can't call $(document).on outside the document because it's read only. Everything there is read only.

I ended up writing a $.Ajax callback event handler in the $(document) ajaxComplete to bind and unbind events.
So I removed all the on and off from within the function and moved them to the event handlers.
Then dumped jquery validation and I'm writing manual ones now, because I'm using Razor with TextBox and not TextBoxFor.

Then there are rules, you can call .click or .change in the $(document) and turn them off with .off but to rebind .on really didn't work and had to use .click or .change again.

Lots of debugging in IE10 or 11, whatever I have loaded.

Thanks Richard for at least something. And I need to get back to that join you posted and learn how to adjust my table model in the DAL to use that method.
Just haven't made time to do that yet but it's coming.
If it ain't broke don't fix it

Questionnodejs and WSDL Pin
dfgdsgjghiouyiouyol19-Feb-18 0:43
dfgdsgjghiouyiouyol19-Feb-18 0:43 
Question(NodeJS) ejs ignoring if statement if a css class is added to the element Pin
random_xyz12-Feb-18 5:08
random_xyz12-Feb-18 5:08 
QuestionJquery: How to conditionally attach/detach bootstrap datepicker with textbox Pin
Mou_kol7-Feb-18 8:17
Mou_kol7-Feb-18 8:17 
AnswerRe: Jquery: How to conditionally attach/detach bootstrap datepicker with textbox Pin
Mou_kol7-Feb-18 8:22
Mou_kol7-Feb-18 8:22 
Questionjquery addClass and removeClass not working Pin
Mou_kol5-Feb-18 22:47
Mou_kol5-Feb-18 22:47 
AnswerRe: jquery addClass and removeClass not working Pin
Richard Deeming6-Feb-18 2:29
mveRichard Deeming6-Feb-18 2:29 
GeneralRe: jquery addClass and removeClass not working Pin
Mou_kol6-Feb-18 2:45
Mou_kol6-Feb-18 2:45 
GeneralRe: jquery addClass and removeClass not working Pin
Richard Deeming6-Feb-18 2:54
mveRichard Deeming6-Feb-18 2:54 
GeneralRe: jquery addClass and removeClass not working Pin
Mou_kol7-Feb-18 20:43
Mou_kol7-Feb-18 20:43 
GeneralRe: jquery addClass and removeClass not working Pin
Richard Deeming8-Feb-18 0:51
mveRichard Deeming8-Feb-18 0:51 
GeneralRe: jquery addClass and removeClass not working Pin
Mou_kol8-Feb-18 1:18
Mou_kol8-Feb-18 1:18 
GeneralRe: jquery addClass and removeClass not working Pin
Richard Deeming8-Feb-18 1:23
mveRichard Deeming8-Feb-18 1:23 
QuestionAutomatic calculation of Days and Filling of Months, Year Pin
Kiran Kumar31-Jan-18 9:13
Kiran Kumar31-Jan-18 9:13 
AnswerRe: Automatic calculation of Days and Filling of Months, Year Pin
F-ES Sitecore1-Feb-18 0:12
professionalF-ES Sitecore1-Feb-18 0:12 
QuestionEdit an Embed COde Api to implement on a website Pin
Member 1363973526-Jan-18 18:32
Member 1363973526-Jan-18 18:32 
Rant[REPOST] Edit an Embed COde Api to implement on a website Pin
Richard Deeming29-Jan-18 10:37
mveRichard Deeming29-Jan-18 10:37 
QuestionHow to open a java script in a android phone Pin
Member 1361672010-Jan-18 9:07
Member 1361672010-Jan-18 9:07 

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.