Questions tagged as 'html'

1
answer

How to capture value of a paragraph inside a div?

I ask your help to capture the value of a paragraph h4 that is within a specific div , and put in a text field of a form. It is to automate a group name / singer's response system to an online radio. This is div where is t...
asked by 04.01.2016 / 23:59
1
answer

Is it possible to prepend an attribute?

I have the following situation: When I request my bank, my <img> tags already come with the src filled attribute, is it possible for me to prepend in it? For example: <img src="meuArquivo.jpg"> , and via...
asked by 13.01.2016 / 14:23
1
answer

Fill in textfield with the description corresponding to the selected value in a combobox

I have in my view a select that receives the data of the functions and the lists. <select id="id_mfuncao" name="id_mfuncao" class="form-control"> <option value=""><< selecione >></option> @foreach($mfuncoe...
asked by 15.01.2016 / 13:47
1
answer

How to sort postings in processwire?

To sort the posts by date I did the following: $posts = $pages->find('template=blog-post, start='.$start .', limit=' . $limit . ',sort=-date'); When I modify the code sort=-date and sort=date nothing is changed so I do not...
asked by 05.10.2015 / 10:37
1
answer

How to make a search box with hover effect?

When you click on the search icon the search box opens. .busca-organica{ width:120px; height:27px; background-color:#FFF; display:none; } .btn-pesq{ display:block; } <div class="btn-pesq"><img src="img/lupa.png">...
asked by 13.10.2015 / 17:21
1
answer

Encoder and Decoder of special characters in HTML

How can I supplement the code below to encode and decode text that has accents or symbols for HTML code? In case I made the encoder more than not being very efficient I do not know how to make the decoder to return the original text. <?p...
asked by 11.10.2015 / 01:30
1
answer

Getting xlsx file with HTML and PHP

I need to import data xlsx to a system I've created. HTML <form method="post" action="" enctype="multipart/form-data"> <input type="file" name="arquivo"> <input type="submit" name="pegar value="pegar"> </for...
asked by 04.12.2015 / 20:15
1
answer

jquery inputmask does not accept quantifier in function "validator"

I'm trying to make a customAlias to use with jQuery Inputmask, but I'm facing the following problem: My input: <input id="input-field-nome" data-inputmask="'alias':'customAlias'" type="text" data-rule-required="true" class="form-co...
asked by 09.10.2015 / 17:18
2
answers

Javascript Code Error [duplicate]

Well, I have the following code in javascript: < script type = "text/javascript" > function teste() { var date1 = document.getElementById("data"); var date2 = document.getElementById("data2"); var timeDiff = Mat...
asked by 19.09.2015 / 14:08
2
answers

Form for HTML file Node.js

Hello! I want a help here: I want when someone writes something in an HTML form, with node.js , I can save this information in a text file with createFile. I do not know much about javascript, please help: /     
asked by 18.09.2015 / 22:07