Questions tagged as 'html'

4
answers

How to change the link in the mobile version?

Hello, I have two links that when they are in the desktop version show a link, but in the mobile version it shows another. I would like to know how can I make a javascript to change when it is on a certain platform? link 1 link 2     
asked by 02.10.2015 / 15:29
3
answers

Store multiple checkboxes in a column with only PHP + MySQL

I am having difficulty storing multiple checkbox in the same field as the table. In this case, when filling out the form and marking more than one checkbox , it stores only the value of the last checkbox . Here are some sni...
asked by 24.08.2015 / 14:07
3
answers

Jquery get the first and second tag inside a div

I'm trying to get the first and second elements inside a div. But I can not. I want to get the two inputs inside the shipping_table . And by clicking on the inputs they will do a function. HTML is: <table class="table" id="shipping_t...
asked by 26.08.2015 / 15:50
2
answers

How to leave current date in text field

I'd like to populate my text field with data atual , where the mask I have, when the user types lets it set like this: xx/xx/xxxx . How to do in JS or PHP?     
asked by 05.11.2014 / 12:44
1
answer

problems with the radio button in an html form

I have a problem with my Radio button . Everyone is getting selected on my html . Why does this happen? Is there any property that directs this?     
asked by 16.09.2014 / 21:26
1
answer

How to position two selects within the same div?

I need to put two selects within the same div , one aligned to the left, and the other to the right. I've tried using CSS to create a class to apply to every select , but it did not work: select.left { text-align: left;...
asked by 30.07.2015 / 02:54
1
answer

Check if a value is present in an array

I have a table in my database with multiple numbers. I get the numbers from the database, I save in array , and I make echo in a table in PHP: echo "<table class='CSSTableGenerator'>"; echo "<tr>"; echo "<th>ar...
asked by 08.08.2015 / 17:28
1
answer

Error in JSON with accents

I'm having problems with my JSON , the error is accentuation, does JSON allow? if it allows, how can I do to show, what will get JSON needs it to be normal, with accents and everything .. MY JSON: { "id": "addCTE",...
asked by 12.08.2015 / 20:17
2
answers

Input type date, how to format output

Is there anyway, using only HTML attributes to format a <input> to receive data formatted to ano/mês/dia ? If it does not exist in HTML is there any way to do this via Javascript at the time of date selection without using...
asked by 06.02.2014 / 18:26
2
answers

How do I get a file extension?

I'm using JSP and HTML and I need to select a file and know its extension. The only way I can open a file is with input file but with it I can not get the extension. How can I get this result?     
asked by 23.04.2014 / 02:55