Questions tagged as 'javascript'

1
answer

redirecting C # / javascript pages

I have a somewhat silly question (I think), I have to do a filter for client and I need to do it urgently, so I gave a "fast" solution to my problem, I created a controler that does client search but now with a filter, and returns to a page simi...
asked by 27.09.2016 / 18:47
1
answer

Login user information does not appear using Firebase!

I'm developing a Web-app! In the case, a chat, however, a chat with new and legal functions! I'm doing just for learning and fun! In the app, I'm using Firebase, to create Logins, Notifications etc! My question is: I am not able to di...
asked by 28.09.2016 / 06:29
1
answer

Access url with ajax and get return

I have the following link to access: https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=5&q=brksedu&key={YOUR_API_KEY} When accessed directly it returns an array like this: { "kind": "youtube#searchL...
asked by 26.09.2016 / 00:54
1
answer

Validation Problems Uploading Multiple JavaScript Files

No form, in an Input selecting multiple images @using (Html.BeginForm("Edit", "RoomType", FormMethod.Post, new { enctype = "multipart/form-data", onSubmit = "return ValidateImagesUpload()" })) { @Html.AntiForgeryToken() <div class="...
asked by 30.09.2016 / 18:31
1
answer

Is there an interpreter that returns an extended AST?

I'm using an interpreter that returns an AST that I do not know how I'm going to read. { clauses: [ { body: [/* ...*/], condition: {/* ...*/}, type: "IfClause" } ], type: "IfSta...
asked by 16.04.2016 / 12:22
2
answers

How to change a color based on the scroll position

Hello! I've been looking for a while and I find several things, but for what I specifically want, no. In my Tumblr blog, I want a border around the posts with approximately 5px, whose color changes based on the scroll position. I want it to be f...
asked by 08.04.2016 / 23:31
3
answers

Organize object in Javascript

I have the following object: objTeste = [ { "id": "03", "nome": "teste03", "pai": { "id": "02", "nome": "teste02", "pai": { "id": "01", "nome": "teste01" } } }, { "id": "02",...
asked by 09.04.2016 / 23:49
1
answer

What do these mysterious double brackets mean in javascript?

Let's say I create a a in javascript: var a = new Promise(function(success, error){ { sucess("Sucesso!"); }) My variable a gets the following properties: Promise {[[PromiseStatus]]: "resolved", [[PromiseValue]]: "Sucesso!"} But no...
asked by 24.04.2016 / 00:54
2
answers

Doubt of how to format value using Chart Chart JS

I'm using a Jquery plugin called Chart JS.
asked by 19.04.2016 / 18:32
2
answers

Add event to FullCalendar dynamically

I have a list of teachers, within each teacher, I have a sublist of subjects. I need to create something like a "weekly calendar" for every time I select a teacher, I show his subjects in the weekly calendar (for me to know the day / duration of...
asked by 01.04.2016 / 00:41