Questions tagged as 'javascript'

1
answer

TWebBrowser does not load google map tiles

I have an asp page that worked normal for TWebBrowser (Delphi-XE7) until this morning, but now loads all the added points, but the tiles do not. If you move the zoom loads normal from there, but every time I update comes without Only occurs i...
asked by 18.02.2016 / 18:26
1
answer

Button to load page

I have a page with adult content and I would like to put two buttons, one to enter and one to exit. How could I do this in JavaScript? The entire screen would be dark with a button that would release the content, and the other one that would...
asked by 19.02.2016 / 04:58
1
answer

Capture td value and pass to a form?

As I do not know much (almost nothing javascript) I humbly ask your help, I have a dataTable populated by data that comes from the database, and when I click edit it opens a modal that should bring data from I have tried a few strings here, with...
asked by 20.02.2016 / 22:06
1
answer

Jquery stops working after running the load command

I'm using the $("#teste").load(location.href+" #teste>*",{id : idd}); The command updates the data div group and sends parâmetro to it. The div , has class, jquery commands that interact with the user. When loa...
asked by 18.12.2015 / 18:28
1
answer

Intel XDK $ .getJSON does not return php value

I am doing a query in mySQL using $.getJSON , but I am not able to return the value. test page: <!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <script src="http://code.jqu...
asked by 17.12.2015 / 21:54
2
answers

Sorting array of objects by name [duplicate]

Well I'm with an array of objects and I need to sort it by name. My following array: COD_IDENT_PESSO: "120151202162147" FLG_IDENT_PRESE: "M" FLG_STATU_PESSO: "A" TXT_NOMEX_PESSO: "Renan Rodrigues Moraes" COD_IDENT_PESSO: "120151202162542" F...
asked by 09.12.2015 / 17:11
1
answer

Relative reference in JavaScript files

Hello, Community! My question is about how external reference to files works in an external JavaScript file. I explain! Suppose I have three files: index.php , json.php and javascript.js with the following structure...
asked by 07.12.2015 / 11:54
1
answer

How to insert information into a Json object?

My problem is similar to this question: Question Stackoverflow But in this case the Json object is used to populate the table. Controller public ActionResult GetDadosItensVenda(int? Codigo) { try {...
asked by 06.12.2015 / 19:31
1
answer

Calling javascript from within the code behind does not work

This is my role: <script type="text/javascript"> function montaDataSubstituicaoPrestador(dt_exclusao) { var arrData = dt_exclusao.split('/'); var exclusaoFormatada = arrData[1] + '-' + arrData[0] + '-' +...
asked by 07.12.2015 / 17:40
1
answer

Command not redirecting

I'm putting a command inside a script so that when the user presses the "submit" button, the given data is written to the database and soon after that a page redirect happens: <script type="text/javascript"> function cadAlterar (){...
asked by 16.11.2015 / 23:09