Questions tagged as 'javascript'

1
answer

Link 'this' from two different contexts

I am creating a prototype with its event listeners and their respective handlers. The issue is that I need two 'this' in the same handler: this._items = $(".playlist-item"); //... this._items.click( this.itemClickedHandler( ?? ) ); In ot...
asked by 11.03.2017 / 03:16
1
answer

JS alert windows are shown infinitely

I have several JS files that validate fields, it happens that when the condition is fulfilled they make the alert and then it is again fulfilled and it continues that way until you mark "Avoid this page ..." How do I solve it? Example get...
asked by 10.03.2017 / 14:51
2
answers

Keep a POST variable in a URL

I'm making an application in an online system that does not require programming knowledge (just for me) and one of the options you have to create a content is a plugin called Mobile , where you can paste the address of any web page to be displa...
asked by 15.03.2017 / 13:56
1
answer

JqGrid close dialog when saving

Hi, I have the problem that I do not know how to tell my Jquery dialog to close when I save, I use the jquery edit dialog in the following way. ondblClickRow: function(rowid){ jQuery(this).jqGrid('editGridRow',rowid);...
asked by 15.03.2017 / 17:23
1
answer

fill fields of a form with data from a mysql bd when selecting a select

the idea is that by clicking on any option of a select depending on this I fill in the fields of my form I am working with php, mysql: this is my select <select name="ruta" id="ruta" class="form-control" onchange="showService(this.value)"&g...
asked by 06.03.2017 / 20:01
1
answer

Reload div from the parent window with Javascript from a pop-up window

I have a page ( parent window ) that opens a pop-up window ( daughter ) with JavaScript , and by clicking a button from the window daughter, it closes, and I need to update a div of the parent window. I tried with parent.location.r...
asked by 12.03.2017 / 12:47
1
answer

How to see the most recent entries of my blog on the main page?

What happens is that I have a website in which I have a blog in wordpress, and what I want to do is that the most recent entries are displayed on the home page of my site, but I do not know how to do this , I hope you can help me.     
asked by 13.03.2017 / 15:15
2
answers

Change the color background by quadrants

Hello, I'm using the library jqplot to perform certain tests, I created a graphic of type scatter and I have divided it into 4 quadrants. This is the script code $(document).ready(function() { var qr...
asked by 13.03.2017 / 14:32
2
answers

How to use ng-click in this way?

It's probably wrong to do it this way, but only then did I find datatable functionality. <div class="panel-body"> <script type="text/javascript"> jQuery(document).ready(function($) { $("#example-1")....
asked by 10.03.2017 / 01:58
1
answer

execute canvas dynamically with a button

I am creating canvas dynamically with input, for this example I put 2 canvas with the same id. What I am trying to do is that when I draw the canvas with the button, the drawing will be generated. in the same way if by pressing the second button...
asked by 22.03.2017 / 16:09