K
K
Konkase2014-06-27 13:17:05
JavaScript
Konkase, 2014-06-27 13:17:05

Why is the javascript function only executed in opera 12?

Good afternoon!
There is one piece of iron, switch dlink des 2108, when editing settings via the web interface, there is a 'Remove the VID' button and it works only in opera 12, in other browsers nothing happens when you click on it, and the button just disappears.
Are there any addons to firefix\chrome to fix this bug?
sorts:

<td width=120><input type=button value='Remove the VID' onclick=remove() >

<script language=javascript>
function remove()
{
 var d=document.vid_val;
 if (confirm('Do you really delete the VID ?') == true)
 {
  d.post_url.value = 'cgi_delvid.';
  d.submit();
 }
}
</script>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2014-06-27
@OnYourLips

habrahabr.ru/post/129343
habrahabr.ru/post/61835

K
Konkase, 2014-06-27
@Konkase

Read the question again and understand that I need a solution for Firefox and Crhome browsers in order for this button to work adequately there. Why do I need links to an introduction to JS? It's not me who wrote the software for dlink 2108 switches.
Or write in words what you want to convey to me with these links

4
4ikist, 2014-06-27
@4ikist

You need to submit the real DOM element.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question