Questions tagged as 'javascript'

3
answers

Getting IP LAN for sending with ajax

I need to get the "LOCAL" (LAN) ip, using javascript. It turns out that I have an application on my servers, but a client requested a customized service. I need to retrieve the client's local ip over the internet and send it to the database on m...
asked by 05.11.2014 / 20:05
1
answer

InnerHTML text in table appears and disappears in time

I'm doing a bit of a registration with the localStorage, and using a counter to put the name, differentiating one I give another. And then in a loop to show the result in a table with innerHTML, there is the problem, it appears and at the same t...
asked by 24.10.2014 / 19:24
1
answer

Retrieve select value via JS and play in PHP variable

I need to get the selected value of the select and play in a query , how do I? In practice (following the example) I choose to select a driver and this select will return below all the records regarding this driver, maybe the fields could be da...
asked by 19.01.2015 / 13:24
1
answer

How to maintain screen positioning after postback?

I have a very extensive html form with multiple entries, after doing postback my page is redirected to the top of the form, how do I, so when is to postback return on the page where I left off? p>     
asked by 19.01.2015 / 17:36
1
answer

How to dynamically resize an app's WebPart?

I created an App for Sharepoint and within the project I added a Webpart. I wanted this Webpart to grow or decrease dynamically based on its content. I tried to add some code from outside the app, but I ran into security issues, so I wante...
asked by 05.12.2014 / 19:30
1
answer

Is there a way to check if a cell phone number is valid?

I searched search sites and found nothing that could help; I needed to prevent residential numbers from being typed in the input so I would just use javascript for this.     
asked by 05.12.2014 / 23:47
1
answer

List multiple ul within a li using AJAX

How can I list multiple ul within a li , dynamically, with AJAX? Something like ul>li>ul>li>ul>li The question arose because I'm making a linear network of an MMN system and I can not dynamically load...
asked by 30.09.2014 / 16:41
1
answer

Validation of E-mail in form in the JSP

I'm trying to validate a form from a JSP via JavaScript but I'm not able to apply the Script correctly, what am I doing wrong? <%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@taglib uri="http://struts.apache.org/tags-ht...
asked by 29.09.2014 / 20:32
1
answer

Condition between two arrays for calendar

I have two arrays for months and days. var meses = new Array("Janeiro","Fevereiro","Marco","Abril","Maio","Junho","Julho","Agosto","Septembro","Outubre","Novembro","Dezembro"); var dias= new Array(31,28,31,30,31,30,31,31,30,31,30,31); I...
asked by 22.10.2014 / 00:33
1
answer

Block insert into box

In the code I create two boxes, one patrimony and another serial: <table border="0" align="center" height="100"> <tr> <td> <font face="arial" align="center" valign="middle" color="blue" size="-1"...
asked by 01.10.2014 / 15:31