Questions tagged as 'javascript'

1
answer

How to get the value of a UF list through the CEP query via Ajax?

I'm developing an address form where the user types the zip code and automatically fills in other fields via Ajax. The problem is that I can not get the UF value, which in my case is a list. My example code: <fieldset> <legend>...
asked by 22.01.2015 / 12:52
1
answer

run automatically

I have a code where I will need to have a processing page, and on this page I will need to execute a javascript function automatically. Currently, I execute this function by clicking, like this: <input type="button" id="listarFipe" value...
asked by 22.01.2015 / 22:10
1
answer

How to get a POST parameter in REST application

I started a Rest application and I have a createPost java class POST @Path("/post/") @Produces(MediaType.APPLICATION_JSON) public static String createPost(@FormParam("loopID") String loopID) throws IOException { Conn...
asked by 27.01.2015 / 21:46
1
answer

How to change the menu position using the scrollTo function?

I am making a website and created a menu with anchor that has the effect of scroll with Javascript. So that's fine, the only problem is that I need to when Javascript takes action the content always stays under the menu, but I did not find whe...
asked by 28.01.2015 / 22:44
2
answers

Specific ordering of a list without a plugin

I am facing a very specific problem in a project. I'm creating slide, where I need to sort the list according to what is clicked on the page. It should look like this: Next form: Quando clico na paginação no item 3, a lista deve ficar da se...
asked by 29.01.2015 / 14:40
1
answer

Line break by changing css

I'm working with grids and I need to know if there is any way to capture the box number (usually 1) to decrease the font number so that it fits in the box so that it occupies only one line. Note: I have already tested autofill in js, but in...
asked by 26.12.2014 / 18:57
2
answers

How to add a div (complete) to asp: Panel using jquery?

Hello. I have the following scenario. I want to use CollapsiblePanelExtender from AjaxControlToolkit to make a collapsed panel. However, the content that this panel will display will be dynamic and will be inside a div. My div alread...
asked by 29.12.2014 / 14:59
1
answer

how to prevent an element from being reloaded when accessing other pages of the same site?

How to keep a fixed and unchanged element even by changing pages on a website. Type, a music player, just like the sites link link However, other than ajax, if that's possible?     
asked by 21.12.2014 / 05:07
2
answers

Write cookie and read its value when accessing the web site to check if expired

I need to make a JavaScript script that follows the following logic: Save a cookie with a id , which ranges from 1 to 3. Along with the cookie, the day / time OR I want it to expire in 8 hours. The user, when entering the site, s...
asked by 26.12.2014 / 22:24
1
answer

Configuring jsTree for AJAX

I'm using the jsTree plugin, trying to get it to fetch the information by AJAX . On server side I have four tables in the database, each one a level of the tree. Tabela1 -Tabela2 --Tabela3 ---Tabela4 Making the plugin search the firs...
asked by 22.09.2014 / 17:44