Questions tagged as 'jquery'

1
answer

What is the best way to pass information to View?

I have the following code: public ActionResult AtualizaCliente(int id) { ViewBag.idFoto = new SelectList(dao.fotos, "idFoto", "Foto"); ViewBag.idInformacao = new SelectList(dao.informacoes, "idInformacao", "titulo");...
asked by 05.05.2015 / 04:27
1
answer

Bootstrap 3: Collapse on hover and set in the click

I would like to know how to do Bootstrap 3 Collapse in the Hover and if it is clicked it will be fixed (Do not close) and only close if another collapse is clicked. With the following code I was able to get it to open in the hover, but I can n...
asked by 25.05.2015 / 19:39
1
answer

How to translate jqGrid to 'en-br'?

I downloaded jqGrid from version 4.8.2 and tried to change the language from 'en' to 'en' always displayed the message 'undefined'. I copied the file with the information to 'en' and changed all the texts to 'en-br'. Below is the entire contents...
asked by 31.05.2015 / 15:38
2
answers

remaining characters textarea

I am writing this code which is to count the amount of characters remaining in a textarea. At first it seemed very simple and has enough documentation on the internet. But I realized that when I copy and paste some text into the textarea, the to...
asked by 04.02.2015 / 22:41
1
answer

API with Javascript

I would like to know how do I make an API in the javascript language to return data like JSON. I need it so I want to make a mobile application.     
asked by 30.07.2015 / 00:38
1
answer

Repeat element with ng-Repeat

I have a form, this one which can be inserted plus a group of "Name" and "Agency" only when clicking the button. I'm using AngularJS and ng-Repeat to repeat the fields the moment you click + . However, the list of agency names "loses" the momen...
asked by 22.07.2015 / 19:27
2
answers

Read an XML in another domain

Is it possible to read an xml in another domain? ex: http://mfmradio.fr/winradio/prog10.xml?player201507291645 I made the code: <script type="text/javascript"> var i; var timer,timeout2; $(document).ready(fun...
asked by 29.07.2015 / 17:00
1
answer

Pause or Shut down youtube video

I currently use the following script to pause the youtube video: HTML: <span onClick="stopVideo();" class="wmg-close"></span> <div id="player<?= $dAgenda['id'];?>"></div> JavaScript within the PHP Replicati...
asked by 18.09.2015 / 22:17
1
answer

Orientation Ruler

In some editors we have an orientation ruler in which we can make some settings, for example  the spacing between text and foliage. I need to produce something like: IcurrentlyuseaTextEditorcalled Summernote , it returns all the text in html...
asked by 05.11.2015 / 19:23
3
answers

Date DatePicker - Processing

Gentlemen: The date I have in the datepicker is in the dd/mm/yy format, however, the date in the database is yy-mm-dd (date field). How do I get the datepicker to display the default date BR and when it comes via POST, enter as...
asked by 02.07.2015 / 23:03