Questions tagged as 'javascript'

3
answers

Pass Javascript parameter to PHP

I want to pass 2 (two) parameters from my javascript page to a PHP page. I already searched the net, and I only find this logic when PHP is on the same page as javascript. Does anyone know if this is possible? and how to do it?     
asked by 02.07.2015 / 19:26
2
answers

Getting attributes of an object using jQuery

How do I get the attributes of an object that is returned by an action in the javascript ? This is my code ajax . Pass the id to the action and it returns an object. I would like to access the values of this object. function UpdateDa...
asked by 30.06.2015 / 16:48
1
answer

How to check a radio button

My question is how to check if a radio button has been selected! I have a while as you are finding values within a table , it adds the buttons radios . So when radio is selected and clicked on "IR" it will call the other pag. passin...
asked by 01.09.2014 / 14:11
1
answer

How to move from one in an element to the carousel?

I'm using Boostrap with the carousel to pass the elements of a menu that I have. I want 4 items at a time to appear and pass one by one without noticing the effect. With the code I have, the effect is to go 4 at a time. You can see...
asked by 22.07.2014 / 18:16
2
answers

How to add a class to a li when the person is on the link page accessed?

I'm creating a site using PHP with includes for better maintenance, however I'm having a problem. If I used only HTML this problem would not be occurring, as I'm using includes to pull menu , I can not add a clas...
asked by 23.07.2014 / 01:16
1
answer

Function not set with javascript

I made a cshtml and in it there is a button that calls my function that inserts into the DB. It turns out that when I click the button, it gives me this error: Uncaught ReferenceError: InsereCadastro is not defined. What do I need to do to get a...
asked by 29.07.2014 / 01:52
2
answers

Multiply select by radiobutton

We have a radio button with three different values and a select box with several different values, how could I multiply the radiobutton checked with the value of the select box and put the result in a field? Radio button code: <input re...
asked by 29.03.2014 / 20:34
1
answer

javascript does not take form attributes

I'm breaking my head to make my javascript copy to a new variable the values passed by a form in HTML. Could someone give me a light? My HTML looks like this: <div class="imc"><!--primeiro container--> <section cl...
asked by 04.03.2015 / 03:35
2
answers

Adapt script that uses checkbox for radio

Good morning, I have the following code: function exibe() { var tipo = "${mainForm.tipo}"; var man_tipo = "${mainForm.man_tipo}"; if ((man_tipo == 'B' && tipo.search('V').toFixed(0) < 0)) { if (document.for...
asked by 25.02.2015 / 14:26
1
answer

Make a negation filter in ng-repeat

I have an object and I'm reading it in ng-repeat, but if the id key is equal to 0777 I do not want this position to be displayed, <div ng-repeat="account in accounts | filter:{accountId :'00777'} "> {{account.name}} - {{a...
asked by 23.02.2015 / 17:19