Questions tagged as 'javascript'

1
answer

Highcharts library does not show data

I have the following code in PHP, this code causes me to search MySQL data and display it in a graphic in the HTML view. The problem is that the data is not displayed on the screen for viewing by the end user. <html xmlns="http://www.w3....
asked by 21.04.2014 / 06:32
1
answer

Angularjs - Http get is returning the html from the main page instead of json

Friends, I have a web app that works normally when installed on localhost. But when I deploy to a different server the http get returns the html from the main page instead of returning the json. Detail that occurs in chrome and firefox. In IE it...
asked by 20.04.2014 / 21:18
1
answer

Loading jQuery in magento only if it was not loaded before

I need my module to only load jQuery if it has not yet loaded on the page, I did it by javascript, but it runs very fast, even using 'setInterval' and so on .. In some cases they keeps going without waiting for jQuery load, my ques...
asked by 09.04.2014 / 16:07
1
answer

Automatically print image from web app (html, js and php)

Hello, I have a webapp where I take a picture with a frame for a badge and saved it on the server, however I had to send that image automatically, ignoring the prompt that comes up when we print something in the browser for example. > I tried...
asked by 04.04.2014 / 23:04
4
answers

Height of a div based on another div

How to leave the% div with% s with the same size as the div result777 ? <script> $( "#result777" ).load(function() { if ( $("#publicidade").height() == "390px"){ var altura3 = $("#publicidade").height();...
asked by 10.04.2014 / 03:19
1
answer

Placing tabs inside a form

I have an html document with tabs. This is OK. Now, inside one of these tabs, I have a form, where I put my controls. I could not put inside this form more tabs, so that would have a document and inside it two tabs and within these tabs, but con...
asked by 24.06.2014 / 23:18
1
answer

Force import of css and js into site pages

<nav class="navmenu center"> <ul> <li class="first scroll_btn active" onclick="atualizarPagina('Home.htm');"> <a>Home</a></li> <li class="scroll_btn" onclick="atualizarPagina('Empresa.htm');"&...
asked by 25.06.2014 / 14:37
1
answer

Problem timers js

I have a web application and this one has MainPage, PageEntity and PageNotice and each of these is associated with a JS file. The goal is to start on the Main page and past x time go to the Entity page and past x time go to the News page. I used...
asked by 23.06.2014 / 21:50
1
answer

Make each button, during the onclik event, trigger its own window?

The following code will display several "tumbnails", where each one has a button labeled "tracklist". But it happens, for example, if I click on one of the buttons and it does not close its window, all other tracklist buttons that are clicked or...
asked by 10.07.2014 / 22:55
2
answers

How to position a div side by side with JS / jQuery

I'm creating a simple chat system where you have a function that opens the user window to which you want to chat face style. What I would like to know is how when opening the second user the window gets lined up next to the first window and not...
asked by 08.07.2014 / 20:37