Jump to content

rizwansyed

Members
  • Content count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About rizwansyed

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. rizwansyed

    Refresh the page

    Hi Dsonesuk Am trying to do it in HTML.Am not getting it. How to use localstorage in html.I tried like below code . https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_tabs <script> function openCity(evt, cityName) { var i, tabcontent, tablinks,temp; tabcontent = document.getElementsByClassName("tabcontent"); for (i = 0; i < tabcontent.length; i++) { tabcontent.style.display = "none"; } tablinks = document.getElementsByClassName("tablinks"); for (i = 0; i < tablinks.length; i++) { tablinks.className = tablinks.className.replace(" active", ""); if (tablinks === cityName) { tablinks.className = "active"; localStorage.activeLI = i; } document.getElementById(cityName).style.display = "block"; evt.currentTarget.className += " active"; } </script> Please suggest with this, how to proceed. Thanks and Regards Rizwan Syed
  2. rizwansyed

    Refresh the page

    Hi Dsonesuk Any example you have to read the stored info. Thanks and Regards Rizwan Syed
  3. rizwansyed

    Refresh the page

    Hi Funce Thanks for the reply. I have a dynamic data which keeps on updating.So i need a refresh. Do you have any java script for this implementation. Thanks and Regards Rizwan Syed
  4. rizwansyed

    Refresh the page

    Hi Am using <meta http-equiv="refresh" content="5"> for page refresh for every 5 seconds in HTML. I have 6 to 7 tabs in my page. If am in 5th tab , after refresh it goes to default page. How can i stay in 5th tab only even after refresh in HTML. Thanks and Regards Rizwan Syed
  5. rizwansyed

    Back button press

    Hi I have a board reneses synergy s7g2 board. Please find the attached Submit button file in html which has a html snippet. I have a list of languages which can be selected from drop down list and then i press submit button so that i can receive the selected language on my board. I have a code in my c file in renesas baord with else if ((NX_HTTP_SERVER_POST_REQUEST == request_type) && (0 == strcmp(resource, "/language"))) It compares with my Html file code like <form action="/language" method="post"> So whenever i press submit button, it goes to other page like 192.100.5.45/language.So i want to avoid going to next page . My requirement is, when ever i submit, it should be in same page or if it goes to other page , i need a workaround like automatically coming back to default page with in a second. Please suggest Thanks and Regards Rizwan Syed submit buttton code.txt
  6. rizwansyed

    Back button press

    Hi Whenever i click on submit button,It goes to other page as shown in attached figure. Is there any option to automatically press back button of browser or the back option after 1 second as shown in the attached image. Please suggest Thanks and Regards Rizwan Syed
  7. rizwansyed

    radio button value print

    Hi Dsoneusk Thanks for the reply.It was helpful I tried the below example https://www.w3schools.com/js/tryit.asp?filename=tryjs_form_radio It prints the value whichever radio button is selected, Is it possible to send the selected radio button to my micro controller board (without using a submit button,just by clicking a radio button) Thanks and Regards Rizwan Syed
  8. rizwansyed

    radio button value print

    Thanks Dsonesuk. One more clarification, As shown in the below figure. Just by selecting a radio button (without using a submit button) , Is it possible to send a value to my board saying that particular radio button is selected Please select your favorite season: Spring Summer Fall Winter Please suggest Thanks and Regards Rizwan Syed
  9. rizwansyed

    radio button value print

    Hi Ingolme, I didnt get what you have mentioned.Please can you mention it clearly for getting the dynamic value instead of static Thanks and Regards Rizwan Syed
  10. rizwansyed

    horizontal and vertical tabs issue

    Hi I need to create a horizontal tab and then inside each tab i need a vertical tab. But am getting both as horizontal. I have attached my html text file Please suggest Thanks and Regards Syed horizaontal and vertical tabs issue.txt
  11. rizwansyed

    radio button value print

    Hi I am working on radio buttons.How can i get a selected radio button value to be displayed in text box. 1.I have a following snippet code. When ever i try to write radVal value in text box,it writes radVal and not the value. <form id="mainForm" name="mainForm"> <input type="radio" name="rads" value="1" /> <input type="radio" name="rads" value="2" /> <input type="radio" name="rads" value="3" /> <input type="radio" name="rads" value="4" /> </form> <span id="result"></span> <script> document.mainForm.onclick = function(){ var radVal = document.mainForm.rads.value; result.innerHTML = 'You selected: '+radVal; } </script> <input type="text" name="firstname" value=radVal> <br> <br><br> <input type="submit" value="Submit"> Thanks and Regards Rizwan Syed Please suggest how to proceed
  12. rizwansyed

    Nested Tabs issue

    Hi Am working on nested tabs, but level 1 tabs work fine but all the level 2 tabs displays data at once. I have attached a source code . For example, with attached code when i click on London->open Collapsible That time internal 3 tabs data in "open collapsible" are visible at once. How can i hide it? Please suggest Thanks and Regards Rizwan Syed test.txt
  13. rizwansyed

    Html collapsible and tabs

    Hi Is there any code available to make collapsible display on the right
  14. rizwansyed

    Html collapsible and tabs

    Hi Dsonesuk I have already checked this site , it expands downwards. I need it to expand on right side. Please suggest how to proceed with this Thanks and Regards Rizwan Syed
  15. rizwansyed

    Html collapsible and tabs

    Hi 1. https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_collapsible In the above link, if we click on open section 1 , open section 2 etc.It expands the data downwards. Is it possible to expand the same data towards right side 2.Am working on nested tabs, but level 1 tabs work fine but all the level 2 tabs displays data at once. Please suggest how to proceed Thanks and Regards Rizwan Syed
×