Questions tagged as 'javascript'

0
answers

MongoDB + Intel XDK

I need to use MongoDB inside Intel XDK, to log, register, save coordinates, then display on a map, etc ... Anyone have any suggestions for tool? Thank you!     
asked by 12.09.2015 / 02:03
3
answers

Print orientation using JavaScript, CSS, HTML or PHP

Can I "preset" the page orientation when the user is printing is already marked as landscape? (Landscape) My case is as follows, I'm having code similar to this example    link I'm exporting my HTML to Excel and in this part every...
asked by 08.09.2015 / 16:38
0
answers

Search the page with JavaScript with IE

Good morning! We are creating a super simple HTML page even for a small document that some users will access. In this document we have a form (input text) of search that will have to return through a "highlight" what the user searched for. It...
asked by 10.09.2015 / 15:33
0
answers

Secure Checkout Secure Pag - Unauthorized

I'm having trouble completing the transparent checkout of the secure pag, following the code of what I'm downloading $url = "https://ws.sandbox.pagseguro.uol.com.br/v2/transactions"; $dados = '[email protected]&token=6128AD81C3E14...
asked by 03.09.2015 / 00:22
1
answer

Youtube videos do not open in full screen

I am using youtube as a music player and every time someone accesses on iOS devices it opens the video in full screen. Follow my code with playsinline. var buildPlayer = function(videoUrl) { playerLoading = true; player = new Y...
asked by 28.08.2015 / 16:32
1
answer

what's faster and lighter to render (ul-li or table)?

I am making a dynamic menu with table (6 columns already defined and the line will vary) and bootstrap. I would like to know what is the best structure to build a dynamic menu (the user will choose several options, will be able to clone the line...
asked by 10.08.2015 / 15:47
2
answers

Changing Form Field Type with onclick

Exemplo <a herf="#" oncllik="">Mudar Campo</a> <input type"text" name="nome"> // Ativo <-----------| | Enverter <select name"nome">...
asked by 17.05.2015 / 13:51
1
answer

Return value processed in Javascript for the managed bean

Return value processed in Javascript for the managed bean is it possible? What's different about this process is that I run the JS method on the bean, like this: RequestContext.getCurrentInstance().execute("getResult()");     
asked by 18.09.2015 / 21:37
2
answers

Incorrect javaScript Loop

I have the following code: var contador = 1; $('.preview-add-button').click(function(){ var form_data = {}; //form_data["concept"] = $('.payment-form input[name="concept"]').val(); //form_data["description"] = $('.payment-form inpu...
asked by 08.08.2015 / 18:13
3
answers

How to get the index of the button clicked?

I'm using a loop to dynamically generate elements: for(var i =0; i< arrSequencia.length;i++ ){ strInterface += "<tr class='formulario'>"+ "<td class='col-md-1'>"+ " <input type=\"button\" class=\"btn btn-danger...
asked by 07.08.2015 / 20:48