Questions tagged as 'javascript'

1
answer

Fill in Select with optiongroup

I want to create a multiple select like this WhatIwasabletodowasthis What I want is to group all the records of the same group, as organized in the plugin See the code here My json returns this     
asked by 24.05.2015 / 05:32
1
answer

Add CSS when clicking a button that goes to another page

I need to add height in a div when I click a button, but it has a but this div is on another page and that's what I'm not able to do, I'll show you how I did it in the code below if anyone can help. p> CODE $('.close-reveal-modal').click(f...
asked by 23.05.2015 / 00:27
1
answer

Repeat query with javascript

I need to update a div constantly and however this code below only updates once, I would like instructions how to do it always update to a certain time so that the same action be repeated countless times. <!DOCTYPE html> <html>...
asked by 25.05.2015 / 00:39
1
answer

Menu Fixed Scroll Top

I made this code so that when I rolled the page the MENU would be fixed in the Top. That is, always the view of the user. var nav = $('#outermainmenu'); var lia = $('.sf-menu > li, .sf-menu > li > a'); $(window).scroll(function () {...
asked by 26.05.2015 / 00:29
1
answer

Is it possible to get the name and value of all sessions by javascript?

I'm creating several sessions, and would like to get the name and value of all of them through JavaScript. Home When creating two Sessions in Asp.Net MVC, for example: Session["usuario"] = "user"; Session["tipo"] = "comum"; I'd like to get...
asked by 24.06.2015 / 23:31
2
answers

OnClick on Canvas

I have an image and on it is drawn a Canvas. I need that when I click on the image it opens in the normal size of it with the drawn canvas object. For now I click on the image and only open it, the canvas does not appear. That's because I do not...
asked by 26.06.2015 / 14:52
1
answer

How to access Json object property?

I'm getting via Ajax a Json object, and would like to turn it into a C # object and access its properties. How can I do this? I ended up reversing the name of the variables ( objeto , itens ), the first are the items, and the se...
asked by 22.05.2015 / 14:10
3
answers

Hide JSON element using javascript

I have the following result in JSON: { "name": "test", "count": 5, "frequency": "Manual Crawl", "version": 1, "newdata": true, "lastrunstatus": "success", "thisversionstatus": "success", "thisversionrun": "Wed Jun 24 2015 16:2...
asked by 24.06.2015 / 19:03
1
answer

I used setcookie on my local server and everything worked fine, but when I uploaded it to the local server it does not work

I used setcookie("votados".$_POST['votacao'], 'yes', time()+86400*300); on my local server and it worked divinely well, but uploading it does not work. Like, it was for him to check whether the user has already voted or not. Could someone...
asked by 26.06.2015 / 14:20
1
answer

Add column category

Hello, I have this code and I would like to add only the "CREDIT" category to someone from a force to my friend here. $(document).ready(function () { var $entrada = 0, $saida = 0, $total = 0; $.each($("td[name...
asked by 06.05.2015 / 05:40