Questions tagged as 'javascript'

1
answer

How to find out what actions an element has when it is clicked?

I would like to know if you can create a script that shows me the actions of a certain element when it is clicked, or else you can debug it in the Chrome console, for example. Something that would tell me, for example, what function the click...
asked by 23.12.2014 / 14:05
1
answer

Apply limit function in all textareas

I am imposing limit of characters in my textareas manually with this code: <textarea onKeyDown="limitText(this.form.message,this.form.countdown,240);" onKeyUp="limitText(this.form.message,this.form.countdown,240);"></textarea>...
asked by 12.12.2014 / 23:44
1
answer

Get mouse coordinates for a specific element

I created a chart where I move objects with the mouse. I wanted to get the actual coordinates defined in the chart. I'm just getting the x and y positions of the window coordinates. On my axis I define the maximum and minimum of x, and if the ob...
asked by 10.12.2014 / 12:02
1
answer

Sortable Kendo UI

I need to mount a screen where I drag options from one list to another. However, when loading from the first to the second, only one copy should be created for the second list. When the user performs the reverse process (load from list 2 to l...
asked by 17.12.2014 / 20:59
2
answers

variable undefined

Hello, I'm having a problem retrieving the global variable total in a script. In an alert inserted in the same scope it is displayed normal, but in a statement it is not returned, undefined appears. follows the excerpt: preco =...
asked by 27.10.2015 / 15:41
2
answers

Change style of a div

I have a div that is hidden on the screen: <div id="selectCity" name="selectCity" class="form-group col-md-12" style="display: none;" > <label for="cities">Para os usuários da cidade:</label> <?php echo $thi...
asked by 27.10.2015 / 19:29
2
answers

Angular Datepicker - Prev and Next

I'm using the following calendar in my project: link I need to customize the back and forth buttons of the calendar, I disabled these buttons from the default calendar (I searched the class and gave a display none), but I need to use the...
asked by 15.04.2016 / 18:53
1
answer

Creating libraries with multiple executions like Jquery [duplicate]

I'm now starting to develop my own Javascript libraries. I already understand a bit how prototype works but I still do not understand how I can execute on the same request more than one method as jquery does ... EX: //no jquery eu posso ex...
asked by 08.04.2016 / 03:31
1
answer

Modal Boostrap reduces site body size

My modal is decreasing the size of the page horizontally when opened, closing it returns the page to normal, it is something that is strange. Here is the code: <div class="row" align="right"> <strong>Posição: <?php...
asked by 19.05.2015 / 21:25
1
answer

Passing data by Jquery

I'm trying to pass some data via Jquery to another php page. I create tag < a > via echo : echo "<a id='".$feed_id."' class='like'> Teste LINK </a>"; • The variable $ feed_id should return a numeric ID (eg...
asked by 19.05.2015 / 00:31