I needed to add the contents of another page in HTML , type, I open the link page and in the HTML of this page would have an event or some javascript that loaded the link , but without changing the URL .
I have 3 inline-block Divs in a row. These divs contain 1 text paragraph with a link at the end to extend the div and print the remaining paragraphs.
At the end of the extended div, there is another link that returns the div to its normal state....
I developed a PHP code that queries a table in the database and inserts the values into a select into the HTML.
Since the user does not find the desired option within this select , he should select the "Instituição não encontr...
I have 2 pages:
A page that has a checkbox and a form submit button
2nd A page that shows which checkboxes have been clicked
The problem is that I do not know how to pass the checkbox value from one page to another, could you help me?...
When I invoke the 'valid' function nothing happens. What is my mistake? I also need to make the 'valid' and 'like' message disappear after 5s (I could not use setTimeout)
function dislike() {
document.getElementsByClassName('esconde')[0...
I am sending information to another page via Ajax:
<script type="text/javascript">
//Função para enviar as informações para o arquivos processa.php
//via Ajax
function envia(x){
jQuery('#form_protocolo_' + x).submit(functi...
I have a field to insert notes and I would like that if the value entered was greater than 10 or less than 0 the value was erased from the input.
I tried to do with the code below, but without success.
function verifica(v){
if (v >...
I need to dynamically start objects with JavaScript
Ex:
Sample class:
function sayhello() {
this.init = function() {
alert('Hello');
}
}
Function to load and instantiate classes dynamically:
function iniciaClasse(nom...
What's happening:
I have a system that, when you finish filling out the form and saving, does not save the changes appearing a alert "saved without changes" and returning to the previous page.
It does not seem to be a connection pr...
I'd like to know how to add bookmarks to the map by clicking on a point in google maps. Actually creating / adding the marker "manually" I already know, what I really wanted was to trigger the function of adding the marker by passing the latitud...