Questions tagged as 'javascript'

1
answer

Login with facebook

I have a question regarding login through Facebook. I have a database with a users table and I have a normal registration and login system, but I wanted to implement the login system through Facebook. How do I tell the system when to regis...
asked by 19.05.2015 / 23:36
1
answer

Change text on site according to time

Make a variable for each day. A function that is on the day of the week X look for open schedules. Compare working hours with the current time show result. <p>Estamos abertos</p> <p>Estamos fechados</p> INFORMATION...
asked by 19.05.2015 / 05:43
2
answers

Use submit to submit a form, within modal, using bootstrap

I'm trying to submit a form within a modal, but it's not submitting what I'm sending in the tag. My VIEW: <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Novo</button> <div c...
asked by 11.05.2015 / 16:28
1
answer

Transform div into string

How to make a div into a string? Here's the example of how I want it to be: <div class="teste">oi</div> on: "<div class="teste">oi</div>"     
asked by 11.05.2015 / 05:34
1
answer

Timer with day hour minute and second

I would like to know if there is any plugin to make this timer equal to this page for example: link If you have an example or link for consultation you would also be grateful.     
asked by 12.05.2015 / 18:40
1
answer

How to get field values with javascript

Let's say I have the following SELECT in my HTML: <form name="formularioEstados"> <label for="states">Selecione um estado:<br> <select id="states" name="estados" onChange="mostraCapital()">...
asked by 11.05.2015 / 20:05
1
answer

Highchart foot

My question is how to change the highchart pie markers (in the legend) from rectangles to circles and how to group my legend by category, I show the code below: var categories = ['Product', 'Competition'], data = {...
asked by 12.05.2015 / 19:03
4
answers

Error in return JSON PHP for AJAX

I can not return success, it is always falling into error. The server side seems to be ok, the email is sent correctly, I just can not display the success and I do not understand why. PHP header('Content-type: application/json'); // D...
asked by 27.05.2015 / 17:08
2
answers

Change time and end date according to the initial

Each time you select a start time for the event in Google Calendar, it adds a 1 to the end time. Home For example: If you put 12:00 on 03/25 at the start, the final will appear at 13:00 on 03/25. However, when you put 23:00 on 03/06 on the initi...
asked by 25.05.2015 / 03:38
1
answer

Is it possible to get a title from an image using "GetElementsByTagName"?

If yes, how? If not, is there any way I can get the title value, then print? For now it's like this (Inside a function. In the image it has an onClick calling it). var imagens = document.getElementsByTagName('img'); document.getElement...
asked by 26.05.2015 / 03:38