Questions tagged as 'jquery'

2
answers

Problems with AJAX jQuery

I have the following ajax and I want to send "data.php" to the data that my object obj has but it does not do it and it sends me the alert ("Unable to recover the data ..."); $.ajax({ url: 'http://nombre_server/datos.php',...
asked by 31.08.2017 / 19:57
1
answer

How to update this code to PDO

Hello, I am trying to update a table in MySQL with jQuery , with queries to PDO . Here I have the code that I do not know how to update: while($registro2 = mysql_fetch_array($registro)){ $tabla = $tabla.'<tr>...
asked by 15.09.2016 / 13:02
1
answer

Ajax with a nested if does not work

If you get in 'acro_proyecto' the data 'SPD' that makes a function if it is not received that you make another: $(document).ready(function () { if(acro_proyecto == 'SPD') $('#titulo_documento, #compania1, #acro_subcategoria, #acro_proyecto...
asked by 30.06.2017 / 14:56
1
answer

Adjust elements when collapsing sidebar [closed]

I have the following page that shows me such data when the lateral menu is collapsed: But when the menu is in its original position the elements run to one side and it is lost to the right What should I add so that the elements...
asked by 06.04.2018 / 22:47
1
answer

How to change an event in jquery? [closed]

I have a modal which has two functions, to record the data received by ajax in tags <span class="nombre"></span> and the other alternative is to be able to give the user the option that when he presses a button that dat...
asked by 30.03.2017 / 13:33
1
answer

Embed tag in HTML

Inside the atiqueta embed I have a pdf, when it is already loaded in the firebox console I can see the contents of the DOM and I see that the label emdeb has from son to #document that it has as a son a label <html> an...
asked by 17.02.2017 / 19:39
3
answers

if / else does not work for me

Create a small script that runs around div , check if they share one of the # id that is in the # array and if so, add a div inside. I want to make that if you do not follow the rule the div disappears but if I...
asked by 04.05.2016 / 16:22
2
answers

Work with data from a txt

With visual I created some forms and I'm trying to do it in local html. I have some text files as data, created by a program. c:\MAPPERS Archivo PV (.PV). c:\PVS Archivo PV (.PV). Example: IB 081930200905300250MAD 1321ECJQZ T07...
asked by 15.04.2016 / 19:54
1
answer

How to move div with jquery

I have this button: <button onclick="$('#settings, #instructions').toggle(); return false;" class="btn btn-info btn-settings" id="settings-btn"><i class="glyphicon glyphicon-cog"></i></button> and a div #yt and I...
asked by 12.02.2017 / 19:01
1
answer

How to do a read more? [duplicate]

I have a text that I am loading from the database, but it is very long so I was thinking about doing an effect in JavaScript to read more, (or less). I hunted for information about it but they show it with two < div > and it's not exactl...
asked by 10.12.2018 / 01:32