Questions tagged as 'jquery'

0
answers

Pass URL parameters Ajax

I need to pass parameters in the AJAX URL in order to filter the name of the searched product. That is, I have a field type text and when the person types it already shows the product typed, same as the Facebook search. How do I pass t...
asked by 20.07.2017 / 20:43
1
answer

Pick up the 3 position of the foreach

I have a foreach that prints all categories of a JSON . How do I get him to only get up to 3 position and stop loop ? The issue is that I want to create a ul with 3 categories in the menu and create another li wi...
asked by 19.07.2017 / 21:48
1
answer

RedirectToAction in JavaScript does not work

After a validation I call the controller in the action (Add) to add a new record through javascript. If the insertion succeeds I give RedirectToAction to the index of this same controller passing the id of the profile that I just regis...
asked by 31.07.2017 / 15:32
1
answer

How do I know if a Json request returned no result?

I have a code in JavaScript that searches a database and fills a input with the name of the patient found: $("#bCns").keypress(function (e) { if (e.which == 13) { var options = {}; options.url = "/Home/pegaPac...
asked by 29.07.2017 / 21:40
0
answers

jQuery timepicker with multi-input input function

I have a code in jQuery that uses the timepicker in all 35 input. follows the second one: Below my HTML : <table> <tr> <th height="40">Indicador</th> <th>Segunda</th...
asked by 29.07.2017 / 05:51
1
answer

Statics Archives

Does anyone know how to use statics files to improve site performance and speed? How large eco-comers use: static1.netshoes.net/resources/lind/netshoes/lindd.min.js static1.netshoes.net/3470.1.1/assets/css-min/theme-common/structure....
asked by 29.07.2017 / 21:50
1
answer

Set up a checkbox, analyzing an already checked checkbox. Jquery

I have the following situation: I need to make clicking a Jquery button check if a checkbox on the page is set to true, and if so, make another checkbox also marked true I tried to use the following code, but without success: $("#button"...
asked by 17.07.2017 / 02:25
1
answer

Open and close menu

I have the following menu, which works when the screen is width: 768px or smaller. When I click on fa-bars , it disappears and shows fa-times . Opening the menu. So far so good. I want when I click on fa-bars it will hide the menu again an...
asked by 14.07.2017 / 20:06
1
answer

Dynamic checkbox does not display the checkbox arrow

I have a checkbox that even selected does not show the check item. This attribute is created dynamically. See the image: Whenclickeditwouldhavetobeselectedlikethis: FollowthecodewhenIclickonthecheckbox:$(document).on("click",".preco-prod-adi...
asked by 14.07.2017 / 22:44
1
answer

Calling a text / x-kendo-template script from a javascript function

I have this new button and in the onclick event I am calling the openEditor() function, and inside of this function I want to call a script of type text/x-kendo-template . How can I do this? My code currently: Custom...
asked by 14.07.2017 / 15:52