Browse all latest questions tagged Html
How would you have a dynamic Javascript/JQuery event listener to know which radio button group is clicked and retrieve the value of the checked element. For example if I have two radio button groups h...
I have a canvas, which uses the canvas.getContext( "2d" ) in ref. my problem is that when the page re-renders, bc a state changes, I get an error and idk how to fix it. this is a minimal cod...
Good morning! I know that this topic has been covered on SO before but I couldn't find the full answer to my specific situation below so I apologize if I missed the answer elsewhere. Scope: What I...
I need help to create set of images via JSON in ASP .NET MVC4. Is it possible to do? My working code is following and I have no idea how to integrate that functionality. Thank you for any help! [...
I am trying to restrict past dates in input type="date".I can able to restrict future dates,But I don't have idea about restricting past dates. $(function(){ var dtToday = new Date();...
I am trying to load a HTML page into my app. I want to show only the content of the HTML page. please help me with a javascript function where I can loop through all the p tags and get the content of...
I have a requirement to rotate a div and stop at a particular position ( The value will be received from the server). I tried native JS to rotate and stop but it is eating up my CPU big time. I can...
I have a sample json file with data: "data" : [ { "id": 1, "firstName": "Fred", "lastName": "Flintstone", "userName": "fredf" }, { "id": 3, "f...
I would like to facilitate a file upload without a submit button. I've managed to hide the file upload button but I'm not sure whether it is possible to hide the submit button and also auto-submit the...
I have started to work on flask, and the problem is i have created a css file in static folder and wanted to load that css file on template. but it is not loading css file even if i try this on incog...
I'm new to JS and although I have bought some books to start learning properly I wondered if anyone could advise with this? I have store that lists many products. On the store page I have added a butt...
I create an application in asp.net mvc. This is a code of HTML that I created for navigation bar. <div id="sidebar" class="nav-collapse"> <div class="leftside-navigatio...
I have made an advanced functional prototype of a simple web application, and delays have pushed this into the position of going "live". At the moment, it just uses JavaScript's localStorage facility...
I have the following table structure: <table> <thead> <tr> <th colspan="4">Current</th> <th colspan="4">New/Requested</th>...
I have two div banners that have corresponding CSS arrows. When the banners are clicked, the javascript toggles between revealing and hiding the text underneath. Likewise, the respective arrows rotat...