Click here to Skip to main content
15,886,199 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: css Pin
vbmike16-Jul-13 9:08
vbmike16-Jul-13 9:08 
GeneralRe: css Pin
Dholakiya Ankit8-Aug-13 18:25
Dholakiya Ankit8-Aug-13 18:25 
Questiontext change event Pin
tarun kumar sahu hs15-Jul-13 1:19
tarun kumar sahu hs15-Jul-13 1:19 
SuggestionRe: text change event Pin
ZurdoDev17-Jul-13 7:35
professionalZurdoDev17-Jul-13 7:35 
QuestionWhat is the mistake ?? Pin
Joe Rozario12-Jul-13 19:24
Joe Rozario12-Jul-13 19:24 
AnswerRe: What is the mistake ?? Pin
Graham Breach12-Jul-13 22:13
Graham Breach12-Jul-13 22:13 
AnswerRe: What is the mistake ?? Pin
jsampathkumar13-Jul-13 3:07
professionaljsampathkumar13-Jul-13 3:07 
AnswerRe: What is the mistake ?? Pin
Santosh K. Tripathi14-Jul-13 17:40
professionalSantosh K. Tripathi14-Jul-13 17:40 
XML
<!DOCTYPE html>
<html>
<body>

<h1>My First JavaScript</h1>

<p id="demo1">
what the hell is going on.
</p>
<p id="demo">
JavaScript can react to events. Like the click of a button.
</p>


<script>
function myFunction()
{
document.getElementById("demo").innerHTML="Hello JavaScript!";
document.getElementById("demo1").innerHTML="This is not working";
}
</script>

<button type="button" onclick="myFunction()">Click Me!</button>

</body>
</html>


Try this... there is miss Sppell in document
AnswerRe: What is the mistake ?? Pin
Dholakiya Ankit8-Aug-13 18:29
Dholakiya Ankit8-Aug-13 18:29 
Questiongame development in java script Pin
Mr.Haseeb11-Jul-13 9:16
Mr.Haseeb11-Jul-13 9:16 
QuestionRe: game development in java script Pin
ZurdoDev17-Jul-13 7:36
professionalZurdoDev17-Jul-13 7:36 
QuestionLoad json data into data grid using javascript Pin
mohanlal_889-Jul-13 3:03
mohanlal_889-Jul-13 3:03 
GeneralRe: Load json data into data grid using javascript Pin
AlphaDeltaTheta12-Jul-13 23:11
AlphaDeltaTheta12-Jul-13 23:11 
QuestionDataTables - Multiple column sort with server side Pin
luefher3-Jul-13 19:42
luefher3-Jul-13 19:42 
AnswerRe: DataTables - Multiple column sort with server side Pin
Dennis E White4-Jul-13 9:22
professionalDennis E White4-Jul-13 9:22 
Questionsharing sessions between two web application with coherence Pin
elham emami2-Jul-13 3:09
elham emami2-Jul-13 3:09 
SuggestionRe: sharing sessions between two web application with coherence Pin
Aaron @ Think Software9-Jul-13 4:52
professionalAaron @ Think Software9-Jul-13 4:52 
GeneralRe: sharing sessions between two web application with coherence Pin
elham emami10-Jul-13 4:39
elham emami10-Jul-13 4:39 
QuestionHow can i double webcam capture and save "dim" in asp or vb? Pin
Uğur Şirin1-Jul-13 20:16
Uğur Şirin1-Jul-13 20:16 
QuestionCalculating a total from a form Pin
tristarterror1-Jul-13 13:34
tristarterror1-Jul-13 13:34 
AnswerRe: Calculating a total from a form Pin
thanh_bkhn1-Jul-13 15:34
professionalthanh_bkhn1-Jul-13 15:34 
GeneralRe: Calculating a total from a form Pin
tristarterror1-Jul-13 16:05
tristarterror1-Jul-13 16:05 
Questionhow to post webform asynchronously(with image upload) without using server side control Pin
Member 770211029-Jun-13 1:45
Member 770211029-Jun-13 1:45 
AnswerRe: how to post webform asynchronously(with image upload) without using server side control Pin
Dennis E White1-Jul-13 5:15
professionalDennis E White1-Jul-13 5:15 
Questionjava script Pin
noorh00727-Jun-13 7:24
noorh00727-Jun-13 7:24 

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.