Questions tagged as 'javascript'

1
answer

Vertical menu with filter within the sub-menu

I would like to make a filter within the sub-menu, filtering the menu itself as you type is going to display the related ones. The idea would be similar to this link . At the end of my menu has the sub-menu called store or adm. Example:...
asked by 06.08.2015 / 18:55
1
answer

Input within DIV with visibility: hidden

This is the following, I hid a% w / o%, which has inputs of a form inside, with style='visibility:hidden; position:absolute' And I wish these div did not send information when the form was forwarded. My question is: Can you just d...
asked by 10.08.2015 / 18:16
1
answer

Erase a flash [: success] a few seconds after being shown to the user?

I have a registration form using Rails, where after the user completes the registration, he is redirected to the login page along with a flash[:success] that shows a welcome message. My question is if I had some form in Rails itself to...
asked by 09.08.2015 / 02:22
1
answer

How to increase div by clicking link?

I have the following situation: Is it possible to click where it says Section # 3 the div increase 100% and the bottom also stay 100%? And when I clicked on the other links again everything would be normal again .. PS: What is th...
asked by 29.04.2015 / 00:01
1
answer

Help Jquery upload script

I'm developing a PHP system with uploading photos, and as I wanted a thumbnail of the photo before sending it to the database, I found the following Jquery function: jQuery(function($){ var fileDiv = document.getElementById("upload3");...
asked by 11.07.2015 / 00:44
1
answer

Make class combiner open the page in separate tab

I have a code in which it creates me a page as if it were a theme, randomly picking the css classes, but what it does is create the "theme" inside the page that the button is, and I would like it to open a new page with the selected theme. Fo...
asked by 15.07.2015 / 14:47
1
answer

How to send ID of an object in jQuery autoComplete?

I need the ID of the selected item in the jquery Autocomplete, when selecting the item by autocomplete, send the selected item ID to the form. In the label The text when sending via post the item ID public ActionResult Cadastrar()...
asked by 09.04.2015 / 18:27
1
answer

Get value from a radius in jquery cakephp

In my code I have a radio and would like to get the selected option in a variable in my jquery function. Button Input: <?php echo $this->Form->input('attendance_status_id', array( 'type' => 'radio',...
asked by 09.04.2015 / 23:14
1
answer

Selective.js does not work

I have a problem with my code. I can not run the plugin selectize.js on this page. All paths are correct. The input appears and everything else, however, when I click to type, the plugin does not show the list of options and ends up not list...
asked by 13.04.2015 / 06:14
1
answer

How to send message only to a user with WebSocket

I have a real-time chat application with Websocket , but at the moment it sends messages to the whole group, I would like to know how to send to a selected user, in the case when I click on user (from a list that appears next to it), he will st...
asked by 12.04.2015 / 23:44