Questions tagged as 'jquery'

2
answers

How to extract the link title from a responsive menu?

I have the following structure of a menu: <ul id="responsiveAccordion" class="showedmenu"> <li><a title="Página Inicial" href="/">Página Inicial</a></li> <li id="category_item_1"> <div class...
asked by 12.08.2016 / 16:43
1
answer

Pass value parameter when clicking input type radio, with php, jquery and mysql propagating

Hello, everyone, I have a question, I do not know how to proceed, I need to send the value that is inside the value input type radio to a jquery variable, remembering that I got it but only works the first one on the list that was propagated wit...
asked by 29.08.2016 / 20:01
2
answers

Make submit a form via ajax

I have the following code in my controller: [HttpGet] public ActionResult Mensagem(long idT, long idD) { string raaluno = acr.getAlunoLogado().ToString(); ViewBag.idT = idT.ToString(); ViewBag.idD = idD.ToString...
asked by 08.06.2016 / 03:54
1
answer

jquery know if field was valid with correct pattern

Well, I have a text field: <input pattern="[0-9]{2}[.][0-9]{3}[-][0-9]{3}" type="text" id="campo" required /> How do I JQuery to see if the fill is in accordance with padrão ? Yes, I know that html5 already does...
asked by 01.06.2016 / 13:21
1
answer

Pull APIs Rest and display the data on the screen

I can make an ajax for the service and return the data, I can display the first Product object and its properties, but when there is another object inside ProductImage that has more than 5 objects inside, I can not view their data $.getJSON(...
asked by 31.05.2016 / 15:58
2
answers

How to modify the default layout of DataTables + Bootstrap

Hello, I used a tutorial I found on Youtube to use DataTables in my project. I managed to make everything work but the look was not very cool as you can see below. SolookingforasectionontheDataTablessiteitselfwithastylizeddemowithBootstrap3,...
asked by 28.05.2016 / 19:38
1
answer

Return with several json with jquery .net

I need to return to json a json, or rather several json, being city, neighborhood, state, parents, each being a json in the same method, but as it is not possible to do several returns I put the obj list up in one list list. List <...
asked by 02.08.2016 / 22:46
2
answers

Get button data in jQuery and call Modal

I have the following button: <button type="button" class="btn btn-danger btn-custom" name="deletar" id="<? echo $valor->set_cod; ?>"><i class="fa fa-trash"></i></button> I need to get the id="", and after se...
asked by 08.08.2016 / 19:50
3
answers

Show or Hide Input according to Radio Button Selected

Hello, I have an html where I want to hide or display some fields according to the button radio selected. But it has not worked, I would like some help. Here is the code: <script> $( document ).ready(function() { $("#inpu...
asked by 04.08.2016 / 17:45
2
answers

show angular variable in iframe

Hello, I have an iframe from youtube and I have to pass it to the video id, which is saved in the database, for this I am using an angular variable, as follows: <iframe width="100%" height="650px" src="https://www.youtube.com/embed/{{institu...
asked by 14.04.2016 / 19:30