details

Details and summary tag compatibility issues

血红的双手。 提交于 2019-11-28 13:58:36
How do you get the details and summary tag for HTML5 to work on all browsers? I can get the details and summary tag to work with google chrome but i can't get it to work with any other browser. This is an old question, but there is still limited browser support for the details and summary tags. One blog post that I found to be useful was this: http://blog.teamtreehouse.com/use-details-summary-elements . It uses jquery for backward compatibility. I use this to get it to work on all non-supporting browsers: if(this.parentElement.getAttribute('open')!='open') this.parentElement.setAttribute('open

Stop browser from filling textboxes with details

China☆狼群 提交于 2019-11-27 21:18:55
I've run into a really annoying problem, and I'm hoping it's just a setting I've missed. I've got an ASP.NET application which allows users to enter their username/password in various places (e.g. login, change password, change username etc..). When I logged in, the browser asked if I would like to store the user details. Usually, I click 'no', but this time I decided to click 'yes'. Now, certain textboxes in my form are prefilled with the username or password. Is it possible to remove these, as they sometimes appear in textboxes which shouldn't be prefilled. I tried setting AutoCompleteType

Details and summary tag compatibility issues

坚强是说给别人听的谎言 提交于 2019-11-27 19:32:54
问题 How do you get the details and summary tag for HTML5 to work on all browsers? I can get the details and summary tag to work with google chrome but i can't get it to work with any other browser. 回答1: This is an old question, but there is still limited browser support for the details and summary tags. One blog post that I found to be useful was this: http://blog.teamtreehouse.com/use-details-summary-elements. It uses jquery for backward compatibility. 回答2: I use this to get it to work on all

Stop browser from filling textboxes with details

扶醉桌前 提交于 2019-11-26 23:02:22
问题 I've run into a really annoying problem, and I'm hoping it's just a setting I've missed. I've got an ASP.NET application which allows users to enter their username/password in various places (e.g. login, change password, change username etc..). When I logged in, the browser asked if I would like to store the user details. Usually, I click 'no', but this time I decided to click 'yes'. Now, certain textboxes in my form are prefilled with the username or password. Is it possible to remove these,