Questions tagged as 'jquery'

1
answer

Is it possible to change the css3 of the table (in JqGrid) to change the positioning on the page?

Is it possible to change the table's placement on the JqGrid library page? When the Jqgrid table returns a lot of data, it creates a vertical scrollbar. When descending to view the last records the table goes to behind the menu but does no...
asked by 17.04.2018 / 14:59
2
answers

Show and hide from the bank

I'm doing this function <script> function ver_endereco(){ $("tr.tr_end").toggle(); } </script> In this PHP code <?php while($row = $result->fetchArray()) { ?> <tr cla...
asked by 25.04.2018 / 17:36
1
answer

Event in a single div with equal classes. How to make?

Greetings. I created some div inside a foreach, all with the same class, inside this div has an element that I want, when clicked, show another div that is inside the created parent div. However, as expected, when I trigger such an event, all su...
asked by 25.04.2018 / 19:18
1
answer

Clear Html Tags from a result of an input, except

How do I remove all html tags from a string with exception? Ex: var exemplo = "<div><p>Leno<span> Sousa</span> <i></i>var exemplo = "<div><p>Leno<span> Sousa</span></p></div&...
asked by 23.05.2018 / 17:46
1
answer

Jquery does not run on content loaded with the .load ()

I'm trying to load a page using the Jquery .load () function, I use a modal to display the content on the main page, the problem is that within the modal it has some functions that depend on jQuery (input mask, Jquery DatePicker and others), and...
asked by 03.04.2018 / 16:02
1
answer

How to receive the select value in PHP when selecting an option

How do I, when the user selects an option, the $idCourse PHP variable receives the value of the selected option. I made this code just to show the idea:    Code <select name="valor" id="idCourse"> <opt...
asked by 09.04.2018 / 01:22
1
answer

Build models in PHP or JAVASCRIPT?

The question seems to be obvious, but I would like to understand it in more technical terms. In my application I need to put objects in an HTML template, for user visualization. I have two options and I would like to know which one is the most e...
asked by 05.05.2018 / 19:11
1
answer

Convert mm: ss in milliseconds

I would like to convert the value mm: ss in milliseconds, could you guide me on how to do this? var time = '03:51'; var mili = ?     
asked by 29.03.2018 / 04:36
1
answer

javascript create links comparing tag text

What is the best way to make this script less slow with or without jquery, the original function has more than 200 lines of changes, and is applied on a page where there are an average of 1000 to 1500 tags to change. How can you leave the com...
asked by 30.05.2018 / 00:00
1
answer

Menu Fixed with Pure Javascript

I have a menu in jQuery that is fixed when scrolling the scroll up. Works well. Now I would like to have the same effect, except with pure javascript. Example of menu in jquery: link $window = jQuery(window); var $fixed_enabl...
asked by 18.04.2018 / 17:11