Questions tagged as 'javascript'

3
answers

Storage of POST variables in JQuery / Javascript

I have a form of login , which has to send some data by post and store it in a array with which we will work to make varied queries with databases (all this without using PHP). To all this, I wanted to know if javascript / JQuery ca...
asked by 12.04.2017 / 09:19
2
answers

Search bar more than one word in php

Greetings companions, I want to know how I can do a search with more than one word in the imput, for example: Let me take these two words and make the query so that I can return results where those two words are found.     
asked by 11.04.2017 / 18:27
2
answers

Problems with the SRC in an HTML page

Trying my application I've noticed that in firefox - mozilla the input type='date' do not work, looking a bit in the network I found a solution with datepicker that on a test page works great! My problem is that in several pages I must...
asked by 17.05.2017 / 12:43
1
answer

separate text string

Good forgive my ignorance and my inability to understand javascript but I have a big problem, I would like to separate a string of text so that when you separate it the other part is on the bottom as if there was a "/ n" or a br / > This is m...
asked by 17.05.2017 / 22:54
1
answer

Validate day - Javascript - DOM [duplicate]

I have an input of type text with a length = 2. <input type="text" size="4" maxlength="2" name="dia" id="iddia"/> Where I want to validate that what is written are only numbers and that if I write a number greater than or equal to 4...
asked by 17.05.2017 / 09:07
1
answer

SItuar a row to the beginning of a dataTable always [closed]

Good morning my people I would like to know if they have any example of how to put a row always at the beginning of a table made with the dataTable plugin and looked for several ways but I can not help it please?     
asked by 17.05.2017 / 22:11
1
answer

how can I send a variable php by onclick for a function js [closed]

I want to make an img html tag as a button that sends a value php to a function js and then insert it into an array, if you could help me I thank you infinitely php while($row = mysqli_fetch_array($result)){ $cartaNombre = $row["Carta"...
asked by 02.05.2017 / 05:15
1
answer

My function (js - ajax) about registering my form

Good day forum. I have a detail with my forms, to add records to my database. I have two forms that are added through ajax-php: Form 1: <form class="form-horizontal" method="post" id="addpartidaspallets" onsubmit="return altaPallets()...
asked by 02.05.2017 / 21:58
1
answer

Create content with json and ajax

I have some doubts and problems. My code is as follows. in html <div id="summary"></div> in js function callurl() { $.ajax({ url: 'https://jsonplaceholder.typicode.com/posts', type: "GET", dataType: "js...
asked by 28.03.2017 / 13:03
2
answers

Join two scripts

I would like to join these scripts: <script type="text/javascript"> $(document).ready(function(){ $("#value").change(function(){ var idvalue = $('#value').val(); $.post("<?php echo base_url(); ?&...
asked by 29.03.2017 / 04:49