Questions tagged as 'html'

2
answers

Assign "data" attribute to button with jquery

I'm using php, mysql and jquery. I have an ajax function that takes a value data from the properties of a button when I click on it: <button data-user="12345" id="btnbusca" name="btnbusca" class="btn btn-primary input"></button...
asked by 15.07.2016 / 15:28
1
answer

Optimize website upload speed - Google Recommendations

Hello, I have a website and using the google speed testing tool, I'm giving you the following recommendations:    Eliminate render-blocking JavaScript and CSS in above-the-fold content    Optimize images    Leverage browser caching...
asked by 09.07.2016 / 20:22
1
answer

Javascript - Onclick in links

My question is: can onclick events be done on links? cambiar_estado.php $query = "SELECT * FROM usuarios_datos WHERE ID_OBLIGATORIO = '".$_REQUEST["Id"]."'";...
asked by 15.11.2016 / 16:09
1
answer

Scroll to iframe using buttons and Javascript

Good, on my page I have an iframe and on top of this 3 buttons, one to do Scroll Up, another Scroll Down and another to pause the Scroll. <html> <head> <script> function scrollAbajo(){ var m...
asked by 19.11.2016 / 14:37
1
answer

I need to make the position of the header and the nav fixed without changing the position of the content that follows

I have the following CSS code so that the header and the nav stay in the same place when you scroll to the page, but the content that follows is positioned at the top of the page remaining below the header and the nav...
asked by 19.11.2016 / 12:51
2
answers

How to create mini window event in onmouseover

I have a button on a website of a restaurant, and I would like that when the mouse over the button comes out a mini window where this appears: ( link ) I think that with an onmouseover event maybe I could do it, does anyone know which code would...
asked by 01.06.2016 / 08:00
2
answers

avoid cutting a text in the cell of an html table

How can I make the cell of an html table occupy the length of a text and not cut into pieces?     
asked by 29.07.2016 / 16:02
2
answers

Can I change the HTML when writing an email in Gmail? [closed]

I need something very simple, I want to do a <strike> (strikethrough) in the text of an email, eg: strikethrough . I found the library KartikTalwar / gmail.js: Gmail JavaScript API , but it demands a tremendous turnaround and t...
asked by 02.02.2016 / 12:24
2
answers

How to make a select be validated only when the user clicks on a radio button with value = 1 with the formvalidation plugin?

I have a problem when I use the formvalidation plugin, because it does not matter if I click on the radius with value = 0 or value = 1, it keeps asking me to fill in the select field, but I only want it to do so when value = 1. HTML <f...
asked by 02.09.2016 / 21:10
2
answers

Relate two lists in angularjs

I request your collaboration because I do not know how I could relate two lists which have in common the id of one of them <table> <thead> <tr> <th>Nombre</th> <th>Edad</th>...
asked by 07.09.2016 / 04:29