Questions tagged as 'javascript'

2
answers

Close browser automatically after the alert

How do I make the browser close automatically after the alert? <html> <head> </head> <body> <div onmouseover="showText();" onmouseout="javascript:alert('my alert');" id="div"></div> </body> </ht...
asked by 23.10.2017 / 18:05
2
answers

Jquery taking the father of i

Well folks, I need to get the TR ID of the one clicked. My HTML is as follows: <table id="datatable"> <thead> <tr> <th>Nome</th> <th>Data de Nascimento</th> <th>...
asked by 04.11.2017 / 16:24
2
answers

How to create a help function

How can I implement a feature on jQuery / Javascript to display a question type as soon as the user clicks on a TextBox and when he clicks on that question mark, a Help how can it fill in the field?     
asked by 25.10.2017 / 19:12
1
answer

Autocomplete with two data types

How do I load two data types into the same input that is receiving an autocomplete (EayAutocomplete plugin). I would like to appear the options by cnpj number and company name. No regular expressions, could someone help? Follow the html: &l...
asked by 17.11.2017 / 20:37
4
answers

How to get content from javascript / jquery array?

Good afternoon guys from Stack Overflow. I'm having a hard time getting content from a specific array in javascript. In the first few lines of javascript code it looks like this. Loose var arrayIDs = []; After a while, it runs the fol...
asked by 20.11.2017 / 17:42
2
answers

How to find an element inside an array of objects by the Id?

I have two arrays , where one of them contains integers ( array1 ) and another contains array2 Id , Description and Banners . I need to find and remove all of the array2 elements that match every array1 integer. I have tried to use...
asked by 17.11.2017 / 13:02
2
answers

Select row from a gridview and pass values to a textbox

I'm having problems trying to find a solution so that when I click on a grid view, it passes the values contained in the line to text boxes. My gridview is populated, but I need to find a solution so that when I click the row, it executes a f...
asked by 17.11.2017 / 18:23
2
answers

Ordered list PHP + AJAX

I've been having the following problem since yesterday, putting together an ordered list as I'll be fetching data in the database. I was suggested to do with ajax, I did with the help of a colleague of the forum to a certain extent. However, in...
asked by 18.10.2017 / 17:47
1
answer

How to print list of JSON objects

I'm implementing facebook posts for a particular page on my site and I'm having trouble understanding how to print the following JSON framework: { "posts": { "data": [ { "created_time": "2017-11-16T19:52:28+0000", "...
asked by 17.11.2017 / 11:03
1
answer

Form with Date and Time - AngularJS

I have a form with the option to choose Date and Time. I am using the Datepicker and Timepicker components. <!-- Date --> <div class="col-xs-12 col-md-3 col-lg-3"> <div class="form-group"> <label>Data</label>...
asked by 17.11.2017 / 19:26