Questions tagged as 'jquery'

1
answer

Formatted text box (code sample)

I need to display information on the screen, but it needs to be displayed as a code (javascript, c #) formatted and colored (code sample), is there any jquery component or something like that? Example $('#ID').click(function (){ alert("He...
asked by 25.05.2016 / 15:18
1
answer

Update database with form data without refresh

Hello, I'm doing a control panel of a scoreboard, where I have a screen with all the games of the round and since the games have already been registered in the bank, I need to update the games as the rounds occur. I managed to pass the ID of the...
asked by 24.05.2016 / 20:48
1
answer

Multiples Ckeditor on the same page

I'm creating a system in which the user can place as many textarea as he wants, the system is ready. The code to do this is this: function addPergunta(){ pergunta++; var corpo = "<div id='pergunta-" + pergunta + "'><hr><...
asked by 27.05.2016 / 03:06
1
answer

How to use the Youtube API?

I have a page with a video that opens in a modal, needs to be paused when the modal is hidden. I tested examples I found on other sites but it did not work. Do I need to add any extra files to use the API control?     
asked by 27.05.2016 / 17:40
1
answer

Display dialog box by right-clicking [duplicate]

I have a form with multiple fields and I want the option of the user to insert a comment in the value of the field. Example: <form> <input type='text' id='campo'> <input type='hidden' id='comentario'> <submit>...
asked by 26.05.2016 / 03:53
1
answer

Return php to JQuery

I need a JS variable that gets the result in a JQuery .load from a php file. JQuery $.ajax({ type: "POST", url: "_required/sessaoCarrinho.php", data: {idProduto:idCampo, novaQuantidade: novaQuantidade}, success: function(data){ var...
asked by 08.06.2016 / 19:20
1
answer

Marking in checkboxes select multiselect stopped

I'm using the JQuery multiselect plugin from: link . $(document).ready(function(){ Well, I'm using the function below that checks the marked options for (i = 0; i < $(".ui-multiselect-checkboxes").length; i++) { $ui = $(".ui-multi...
asked by 28.04.2016 / 14:06
1
answer

Problem with textarea in fluid layout

I have the following: HTML: <div class="sessoes"> <div class="formContato"> <h1 class="h1Centralizado">Fale Conosco</h1> <form id="contato" action="contato.php" method="post"> <input type="hidden"...
asked by 29.04.2016 / 17:34
1
answer

I need an if that changes the mask of an input

Hello, I have a php mysql code, and I need help, the code is ready, I just have the option to edit the data, that's what I need help with, I'll explain what's happening, I have my code has three inputs, the first asks what will be edited the seco...
asked by 28.04.2016 / 16:09
2
answers

ComboBox and mask of cpf and cnpj

I'm doing a system in PHP and I would like that when selecting individual or legal entity in the combobox automatically placed the maskara in an imput. I have already researched the net and the examples that have uses JQUERY-1.3.2.js, but my pro...
asked by 04.05.2016 / 07:32