Questions tagged as 'jquery'

2
answers

Make item highlighted if referring to the selected menu

I have the following code <div class="produtosMenuItens"> <div class="produtosMenuItensTit bs">Residencial</div> <ul class="produtosMenuItensDiplay" style="display: block;"> <li class="produtosMenuIte...
asked by 21.05.2014 / 18:21
2
answers

Django - How to redirect the user to the other pages of the application?

In the template menu I have a menu Dropdown with the links to the other pages application! In the home page of the application I have the links to the other pages of the application! Ex: Home, Reports, About ... All are link's that sho...
asked by 16.05.2014 / 20:10
2
answers

jQuery Toggle animation is not working

I have this code, and I would like to toggle the click but it is not working. Any tips sff? HTML: <body> <img id="topBar" src="imgs/topBar.png"> <div id ="wrapper"> <nav> <a href="index.php"><img...
asked by 19.05.2014 / 11:28
1
answer

Pass a button's id inside a while (in php) to a code in java script and start the id inside a modal

I have two buttons in a table that stays within a while (in the php code) and I have a modal outside of that while structure. My question is how can I get the individual id inside my table that is inside the loop repeat and play in the input fie...
asked by 22.06.2018 / 16:18
1
answer

JS or Jquery Decrease image size and not just resize

Is there any way to reduce the size of the photo before uploading? Note: It is not just a resize, because some test I did was resized and did not decrease the size of the photo. I would like to check if the upload is of type image and Dec...
asked by 26.06.2018 / 13:19
1
answer

How to change the color of a div via javascript with one condition

I'm trying to change the color of a div if the following condition is true, if( @ViewBag == "reservado" ) , but I can not, could someone tell me what the code would look like with that condition described above? I'm programming in...
asked by 05.10.2018 / 18:34
2
answers

Hover over the image and change the caption color

Good morning dear friends, I wanted to know how to move the mouse over an image, and the background of the caption change color, in the example below I can only change the color when I specifically step over the caption. How do I move the mouse...
asked by 16.10.2018 / 18:22
1
answer

jQuery validation plugin + tabs

I created a simple system of tabs with hide() and show() . Within each of these tabs (listed dynamically), there will be several checkboxes (also listed dynamically). The user will not be forced to select any option, but each tab...
asked by 16.02.2014 / 07:19
1
answer

Regular expression to validate a field

I have an input on the form that should only accept the following formats: Examples 1AB 1AB2CD 1AB2CD3EF The minimum size must be 3 and maximum 9, and must always follow the pattern 1 digit and 2 letters. It should not be accepted...
asked by 05.06.2018 / 13:53
1
answer

Jquery Get Checkbox Value Nearer by Line

I need help with the following: Iwanttogetthecheckboxthatisdisabledandplayonconsole0forwhatisdisabled,and1forwhatisenabled.Mysourceislikethis:(asp.netmvc)@modelIEnumerable<Apontamento.Models.Modulos>@{ViewBag.Title="Acesso"; Layout...
asked by 13.09.2018 / 18:05