Answer the question
In order to leave comments, you need to log in
Why won't OpenServer start in Firefox?
The local server Open Server works for me in all browsers except Firefox. Even in IE. In Mozilla, it brings to the network on the domain of the same name. On localhost it says something like "Oh, how did you get here?".
Please tell me what could be the problem.
Answer the question
In order to leave comments, you need to log in
Yes, I understand that there is more than one field with the same name on the page, but how can I do it differently?
<input id="itemName-1" value="1">
<div class="button" onclick="send_cart('#itemName-1');">добавить в корзину</div>
function send_cart(id) {
var name = $(id).val();
alert('Name: ' + name);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question