Questions tagged as 'jquery'

0
answers

Browse the server directory from the web application to get the directory path

I am working on an intranet website, this does not have communication with the internet, so security problems should not exist. The point is that I require that when the user is in a form when entering an option in which he will request the path...
asked by 03.11.2017 / 16:45
1
answer

two countdowns in a single html [duplicated]

I have a countdown running in my html , but I need that right after finishing, start a new countdown with a different time in the same countdown , this is the js $(function (){ function countdown() { var...
asked by 03.11.2017 / 15:29
0
answers

How to make comment box?

Hello everyone, my question is how can I make a comment box like the one we have in this forum, with all those options that are handled with PHP, is it possible? Thank you for your answers     
asked by 03.11.2017 / 16:25
3
answers

do not pass variables to me from ajax to php?

$.ajax({ url: 'functions/envio.php', type: 'GET', data: {nom:$("#firstname").val()} }); alert($("#firstname").val()); $(location).attr('href','checkout2.php'); } in the php $_SESSION['nombre']=$_GET['nom']...
asked by 29.10.2017 / 18:42
1
answer

does not the alert of the following variables show me only shows the first selected data?

<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> </head> <body> <?php $user="localhost"; $username="root"; $pass=""; $db="surti_office"; $conexion=m...
asked by 31.10.2017 / 15:24
1
answer

Inputmask with certain values

I am using input mask for a phone format: $('.selector').inputmask("(09\1) 999-9999"); 0 and 1 are standard, and I only store the other numbers, the problem is that when I reload my page if I complete them with '1111111' I lose the last num...
asked by 31.10.2017 / 18:00
2
answers

How to prevent the form from being sent if I have radiobuttons in NO

I'm making a newsletter form, I have 4 options all have Yes and No now I want to avoid that the form is sent if everything is in NO This is my code, I tried it with Js but it did not work out. Thank you very much <!-- Begin MailChi...
asked by 20.11.2017 / 18:11
0
answers

when filling out the form I give it next and I do not go to step 2

<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""&...
asked by 20.11.2017 / 22:22
1
answer

fill input multiselect select2

I am looking everywhere and I can not find how I can fill an input of a multiple select using select2. the code I'm using is this: if (ui.item.tallas >= 1) { $('#'+Talla).val(ui.item.talla.split(',')).trigger('change'); $('#'+Talla).sele...
asked by 20.11.2017 / 21:23
1
answer

How to emulate the enter key in jquery? [duplicate]

I would like to emulate the enter key since I am generating inputs dynamically, at this moment when you press the button add product or give enter it generates an input and can even be deleted, but I would like my default script to generate on...
asked by 01.11.2017 / 20:13