File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes my java script is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "my java script is not working " Watch "my java script is not working " New topic
Author

my java script is not working

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 87


[Added code tags - see UseCodeTags for details]
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4385
    
    8

When you say "it's not working", what do you mean? What is happening? What was meant to happen? Are you getting any error messages (look at the error console). See ItDoesntWorkIsUseless for more.

Edit: though I'll point out one obvious thing. On line 9, what is name? On line 13, what is id? Etc. You haven't defined those variables anywhere.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61187
    
  66

Also, please be sure to use proper indentation. Making your code hard to read will not get you much help.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
name, id, state, etc are not defined anywhere!

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: my java script is not working