Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327619

Summary: JSDT - HTML form elements should have corresponding JavaScript objects created as part of the translation step
Product: [WebTools] JSDT Reporter: Billy Rowe <browe>
Component: WebAssignee: Project Inbox <jsdt.web-inbox>
Status: CLOSED DUPLICATE QA Contact: Nitin Dahyabhai <thatnitind>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Billy Rowe CLA 2010-10-12 21:32:59 EDT
Build Identifier: 3.6

HTML form elements should be available in the JSDT model so their methods and attributes can be used in JavaScript code.

This includes being able to references form elements directly by name in JavaScript code as well as calling methods like "submit()" on a button object.

This would take part in the translation step where HTML or JSP pages are converted into JavaScript code so that it can be used for validation and content assist purposes. Currently all form tags are ignored, but this work would read in those tags and create a corresponding JavaScript object.

Reproducible: Always
Comment 1 Nitin Dahyabhai CLA 2011-06-30 17:32:19 EDT

*** This bug has been marked as a duplicate of bug 240134 ***