Questions tagged as 'javascript'

2
answers

Passing data from javascript to an array in php

I have a small problem that I would like some ideas to solve: I have a request screen, where I select the product in a combo, I inform the quantity and when I click on a button, I want to insert the data of the value of the combo and the valu...
asked by 05.04.2014 / 16:33
1
answer

Execute next audio in javascript

I'm having a question about how to list the next audio using javascript, ie finalizing one song will already be listed the next. I currently have the following code: function loadPlayer() { var audioPlayer = new Audio(); audioPlayer.co...
asked by 15.05.2014 / 15:23
2
answers

Access local printer

I have the following problem, I have an application ruby-on-rails and need to print labels on a printer that is installed on the client computer, how do I print these tags directly from the browser, send direct to the port?     
asked by 23.05.2014 / 18:59
1
answer

ComboBOX which best method: OnSelectedIndexChanged via autopostback or Jquery?

I have the following DropDownList in ASP.NET Webform <asp:DropDownList ID="DDL_Categoria" runat="server" CssClass="form-control" AppendDataBoundItems="true" > <asp:ListItem Value="" Selected="True">Selecione</asp:ListItem> &l...
asked by 23.05.2014 / 22:04
2
answers

jQuery PivotTable

I'm new to Development, and I'm doing a screen that has a GridView that when I click on the ADD button of the text it writes the Label on the line but sends the text to the other line, I wanted to know how to make the text in the same line and A...
asked by 30.03.2015 / 21:09
1
answer

Altered String Alert

I have the following code: var string = "Este aqui é o valor do cliente 000.000.00 01"; var str_subs = "129.000.000 02"; string = string.replace(/\d\d\d\.\d\d\d\.\d\d \d\d/g, str_subs); alert("Valor Original: " & ??????); -> No caso aq...
asked by 23.05.2014 / 23:30
1
answer

Assign value to the input text

I have the code below that is working perfectly, that is, whenever I move the images I have the left and top scales of the same ones. But this is appearing with LI and I need it to appear in the VALUE of an INPUT TYPE = TEXT, as I need to send t...
asked by 13.04.2015 / 15:50
1
answer

How do you use Bootstrap Popover?

I need to put a "balloon" in the click event of the cars or even use the tooltip with mouse over I think the best way is to use the Bootstrap 3 popover, but I do not know how to use this element. Any suggestions?     
asked by 06.04.2015 / 03:04
1
answer

Send confirmation message JavaScript

I have a method to send Email via PHP that is working correctly. I would just like you to send an answer to the user, for a alert of the same javascript. My form looks like this: <form class="contact-form" name="contact-form"...
asked by 31.03.2015 / 21:48
1
answer

Limit the number of clones

Following this project, Clone of an image , I wanted to limit the number of clones and the movement of images for example through a variable (eg: variable = 5) When for example the 5 clones are moved / created, they can not be created or moved...
asked by 08.04.2015 / 10:21