• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to map onclick to another input element

 
anfun wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On a page I manages some items. Each line looks like this:

| item_1 | (link)[removeButton.gif] | (link)Remove |

Clicking on each button will remove the item displayed to its left. This is done by passing the item name in the request, as in the following code, and it works. I want to be able to click on the text "Remove" for the same functionality as well, but can't get it to work. Any tips or sample snipplet will be appreciated.

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you are talking about the no script text?
 
anfun wong
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean when javascript is enabled, the "Remove" text link should work. When javascript is disable, it is not expected to work.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic