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

JavaScript

 
GeneralRe: how can i insert onClick event to href? Pin
Ali Al Omairi(Abu AlHassan)6-Jul-11 11:08
professionalAli Al Omairi(Abu AlHassan)6-Jul-11 11:08 
Questionhow do save div to html file Pin
apadana_19896-Jul-11 2:05
apadana_19896-Jul-11 2:05 
AnswerRe: how do save div to html file Pin
Richard MacCutchan6-Jul-11 2:21
mveRichard MacCutchan6-Jul-11 2:21 
GeneralRe: how do save div to html file Pin
apadana_19897-Jul-11 4:06
apadana_19897-Jul-11 4:06 
GeneralRe: how do save div to html file Pin
Richard MacCutchan7-Jul-11 4:32
mveRichard MacCutchan7-Jul-11 4:32 
GeneralRe: how do save div to html file Pin
apadana_19898-Jul-11 20:22
apadana_19898-Jul-11 20:22 
GeneralRe: how do save div to html file Pin
Richard MacCutchan8-Jul-11 23:20
mveRichard MacCutchan8-Jul-11 23:20 
QuestionDiv Create dynamic and click Pin
anishkannan5-Jul-11 1:48
anishkannan5-Jul-11 1:48 
Legend create dynamic , I used jquery for create Legend GUI with click callback. each div have ID. expectation is while clicks div, the corresponding ID want to show. But here its showing only at last created div id only


<div id="legend"></div>

 for (var i = 0; i < 3; i++) {
   var id = "test" + i;
  $("<div/>", {
       "id": id,
       "style": "width:30px; height:30px cursor:pointer; border:1px solid Green ;padding:1px;               background-color:Green",
       click: function() {
       alert("ID =    "+ id);
       }
}).appendTo("#legend");

AnswerRe: Div Create dynamic and click [modified] Pin
Manfred Rudolf Bihy6-Jul-11 2:20
professionalManfred Rudolf Bihy6-Jul-11 2:20 
QuestionI don't know why css name is initialization. Pin
buffering833-Jul-11 17:30
buffering833-Jul-11 17:30 
AnswerRe: I don't know why css name is initialization. Pin
Gerben Jongerius3-Jul-11 22:00
Gerben Jongerius3-Jul-11 22:00 
QuestionCapturing the ID of an Element Pin
ASPnoob29-Jun-11 5:10
ASPnoob29-Jun-11 5:10 
AnswerRe: Capturing the ID of an Element Pin
Not Active29-Jun-11 5:44
mentorNot Active29-Jun-11 5:44 
GeneralRe: Capturing the ID of an Element Pin
ASPnoob29-Jun-11 6:38
ASPnoob29-Jun-11 6:38 
GeneralRe: Capturing the ID of an Element Pin
Not Active29-Jun-11 6:54
mentorNot Active29-Jun-11 6:54 
AnswerRe: Capturing the ID of an Element Pin
twseitex29-Jun-11 9:05
twseitex29-Jun-11 9:05 
AnswerRe: Capturing the ID of an Element Pin
AspDotNetDev29-Jun-11 10:17
protectorAspDotNetDev29-Jun-11 10:17 
QuestionAndroid App Windows (NTLM) Authentication Pin
Colin Mullikin22-Jun-11 3:08
professionalColin Mullikin22-Jun-11 3:08 
GeneralRe: Android App Windows (NTLM) Authentication Pin
Colin Mullikin22-Jun-11 5:22
professionalColin Mullikin22-Jun-11 5:22 
Questiondocument.ready() and window.load() events don't fire Pin
benams21-Jun-11 4:41
benams21-Jun-11 4:41 
AnswerRe: document.ready() and window.load() events don't fire Pin
Not Active21-Jun-11 7:36
mentorNot Active21-Jun-11 7:36 
AnswerRe: document.ready() and window.load() events don't fire Pin
DaveAuld21-Jun-11 7:49
professionalDaveAuld21-Jun-11 7:49 
AnswerRe: document.ready() and window.load() events don't fire Pin
DaveAuld21-Jun-11 8:00
professionalDaveAuld21-Jun-11 8:00 
GeneralRe: document.ready() and window.load() events don't fire Pin
benams21-Jun-11 11:35
benams21-Jun-11 11:35 
AnswerRe: document.ready() and window.load() events don't fire [modified] Pin
Monjurul Habib21-Jun-11 12:12
professionalMonjurul Habib21-Jun-11 12:12 

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.