Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Needed In Prototype and Scriptaculous!

 
Sid varma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to create a JSP page, and i am using prototype Javascript libraries to create a class using 'Class.create()' .

here is the corresponing code. i am complete newbie to this framework and i need some one to tell me what mistakes i have done in the following code and what shud i do to make it runnning. any help will be deeply apprecited. thankss

when i click "submit", alert box should display saying "cobra says hisss". but i get nothing when i hit the submit button.

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is very difficult to read. You can edit your post to include them by using the button.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read the ItDoesntWorkIsUseless FAQ entry.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic