Questions tagged as 'javascript'

1
answer

I would like to insert a javascript alert in my action button

first the action call to delete <?php $aux = 0; while($resultado = mysql_fetch_object($query)) { $url_alterar = "form_alterar.php?cod=".$resultado->id; $url_excluir = "excluir_cad.php?cod=".$resultado->id; if ($aux % 2 == 0) Now th...
asked by 22.09.2016 / 06:00
1
answer

Change element generated through the event of an element already ready

I have the following HTML code: <div class="header"> <ul class="navigation"> <li><a>Home</a></li> <li><a id="limpar">Limpar</a></li> </ul&...
asked by 14.08.2016 / 18:43
1
answer

Upload with java script

I have the following code for image upload however it only works if js is on the same page of the form and does not work coming from the external file js, I would like to use external because I use other functions, could someone explain me why d...
asked by 16.08.2016 / 03:34
1
answer

Validation with Parsley and Modal window

I have a problem and I can not resolve it. I have a button that when I click on it presents a message to the user of confirmation, it happens that before opening this modal I would like to validate if all fields are filled in. For validation...
asked by 13.09.2016 / 17:32
1
answer

Paypal Plus integration: incorrect iframe

I'm using an integration with Paypal Plus using the iframe, as follows: <script type="application/javascript"> var ppp = PAYPAL.apps.PPP({"approvalUrl": 'myApprovalUrl',"placeholder": "ppplus","mode": "live"}); </script> Bu...
asked by 02.09.2016 / 15:47
2
answers

Display div when clicking another, several with javascript

Hello, I need to create a div that I want to add to the div. <div class="item" id="faq"> <div class="title"><b>Ola titulo todos</b></div> <div class="text" styl...
asked by 02.09.2016 / 03:50
1
answer

Post with no fronend

I'm trying to post a form information but I'm not really sure how to do it. This is my C # form: @using (Html.BeginForm("Enviar", "Mensagem", FormMethod.Post, new { enctype = "multipart/form-data", @class = "", @id = "formNovaMsg" }))...
asked by 02.09.2016 / 18:46
1
answer

Catch certain part of the html coming from another page with javascript

Hello everyone, I want to get a specific area of what is coming from the other page, for example what comes from the other page, I get the div with id like I would with my script? <script type="text/javascript"> // Função re...
asked by 02.09.2016 / 03:06
1
answer

Identify router model via PHP or Javascript [closed]

Is it possible to identify a person's router model through PHP or Javascript? I wanted the person to access an "X" page so php or javascript would identify the router's model and store that information in txt or BD. Is this possible?     
asked by 27.08.2016 / 23:56
2
answers

script only in one div

<script type="text/javascript"> onmousemove = function adfy() { adfy_id = '.html'; //replace with your ID for (var i = 0; i < document.links.length; i++) { var hrefer = document.links[i].href;...
asked by 08.08.2016 / 02:06