how to pass HTML objects as parameters

Asked

Viewed 177 times

0

wanted to know how I can pass a variable VARIAVEL of the kind "[object HTMLTableRowElement]" as a parameter to send to a JSP that will make a $(VARIAVEL).remove() using javascript.

This variable has a value similar to that $(this).parents(), that is to say, VARIAVEL = $(this).parents();

  • Lucas, what’s wrong? I couldn’t understand what your question is.

  • how can I pass this variable of type [Object Htmltablerowelement] to a jsp

  • 1

    You cannot. Pass the ID of this element.

  • I suspected I couldn’t, but thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.