Button onclick tag in html | html |

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 81

  • @VinayTandale
    @VinayTandale Před 11 měsíci +20

    Just use a tag and then in the tag use target=blank

  • @TheCodeDonkey
    @TheCodeDonkey Před rokem +5

    Great content, Sekar! 🖤🤍

  • @moroxx6480
    @moroxx6480 Před rokem +8

    Thanks man I've been scratching my head trying to figure this out

  • @king_bobby_the_I
    @king_bobby_the_I Před rokem +4

    Bro tysm, I've been trying to figure this out forever

  • @sneharavikumar152
    @sneharavikumar152 Před rokem +1

    I am trying to solve my problem from yesterday evening after seeing your video I finished now.. Thankyou❤

  • @user-gm3mo7ke7j
    @user-gm3mo7ke7j Před 8 měsíci

    Nice Sir

  • @ashwaniyadav-ei8oc
    @ashwaniyadav-ei8oc Před rokem +2

    please explain a web page using formatting html

  • @mrmoltate7415
    @mrmoltate7415 Před 6 měsíci

    Thanks sir

  • @ainulhoquebarlaskar453
    @ainulhoquebarlaskar453 Před 7 měsíci

    Thanks👍🏻

  • @kristonavera3624
    @kristonavera3624 Před rokem +1

    Thank you

  • @EIGatito
    @EIGatito Před rokem +2

    Bro how can i remove the button from my coding so that it can automatically sort table?
    Test

    Date Created
    Name
    Tests


    04/04/2015
    Test Name 2
    1

    09/08/2017
    Test Name 5
    2

    07/08/2015
    Test Name 4
    3

    05/04/2015
    Test Name 3
    4

    12/08/2017
    Test Name 6
    5

    21/03/2014
    Test Name 1
    6

    Sort by date

    function convertDate(d) {
    var p = d.split("/");
    return +(p[2]+p[1]+p[0]);
    }
    function sortByDate() {
    var tbody = document.querySelector("#results tbody");
    // get trs as array for ease of use
    var rows = [].slice.call(tbody.querySelectorAll("tr"));
    rows.sort(function(a,b) {
    return convertDate(a.cells[0].innerHTML) - convertDate(b.cells[0].innerHTML);
    });
    rows.forEach(function(v) {
    tbody.appendChild(v); // note that .appendChild() *moves* elements
    });
    }
    document.querySelector("button").addEventListener("click", sortByDate);

  • @snehilgamit365
    @snehilgamit365 Před 8 měsíci +1

    Anchor tag crying in corner 💀

  • @Kingmarzuk
    @Kingmarzuk Před 6 měsíci +1

  • @Yaxyobek_Uz
    @Yaxyobek_Uz Před rokem

    Wow

  • @saranyasri3367
    @saranyasri3367 Před rokem

    Nice

  • @prathameshudoshi7966
    @prathameshudoshi7966 Před rokem

    Thank you 🥹🥹

  • @nasttygamer08
    @nasttygamer08 Před 11 měsíci +4

    Me work with href tag and get same output☠️☠️

  • @ammuchinna1236
    @ammuchinna1236 Před rokem +1

    How to write tag open that link in dailog box

  • @vsmusic7377
    @vsmusic7377 Před 5 měsíci

    Bro I am new in coding.
    Maine ek div banaya aur uska background-color ko red kar diya aur ek button banake onclick me ek function banaya aur js me us function me div ka color yellow kar diya lekin button click karne par div ka color change nahi ho Raha hai

  • @FeatherGames
    @FeatherGames Před rokem +2

    Hey how do resize?

  • @Iza852
    @Iza852 Před rokem

    What are u using for coding thank u

  • @collegeStudent7373
    @collegeStudent7373 Před rokem

    please do more videos

  • @rainloww3460
    @rainloww3460 Před rokem

    Sup, I have a question. How to unable user opening new tabs or certain websites while he uses your site?

  • @DivenKenneth
    @DivenKenneth Před 5 měsíci

    window.open
    Is the window the device or its the only way

  • @rawan-6688
    @rawan-6688 Před 7 měsíci

    What is the name of the application?

  • @collegeStudent7373
    @collegeStudent7373 Před rokem

    thank you 😊

  • @BlueTree242
    @BlueTree242 Před rokem

    Evaluation of code sent from AI is bad idea, for production, because user can trick ai into responding with malicious code

  • @RamSingh-rx7ns
    @RamSingh-rx7ns Před měsícem

    Sir mujhe HTML coding bnwani hai please sir reply

  • @Mineblox69
    @Mineblox69 Před měsícem

  • @TruthandReality_in2
    @TruthandReality_in2 Před rokem

    Can u pls solve my doubt there is gape between every code why and how is it a formatting in desktop

    • @snehilgamit365
      @snehilgamit365 Před 8 měsíci

      In vs code, simply right click and you will find format do document. If not then install extension like Beautify. This extension is used for formatting files like HTML

  • @haidangngyen9306
    @haidangngyen9306 Před rokem

    Not work for me ,i have some problem with line 7 (uncaught syntaxerror: Unexpected token'.' line 7)

    • @its_sekar
      @its_sekar  Před rokem

      Share your code in comment box

  • @RoymanJeremyV
    @RoymanJeremyV Před rokem +1

    Me who just Rick roll toxic kid by free robux 😂

  • @paulo19593
    @paulo19593 Před 11 měsíci

    Eu to começando a ver html mas ainda não sei oq que significa cada funçao

  • @Berdan752
    @Berdan752 Před rokem

    I tried to do a coding like this with a button but it didn’t even work really disappointed

  • @user-dy3lq3tk9w
    @user-dy3lq3tk9w Před 6 měsíci

    How can i save this video

  • @vamshikrishnagowda347

    Where you are writing all these codes like vs code etc..

  • @realearningags4631
    @realearningags4631 Před rokem

    Bhai ek help chahiye
    Maine ek form banaya haisubmit button mein URL attach krta hun to wo next pr jata hai
    Par form ko bina fill kiye hue bhi next page pr chla jata hai
    Aap kuchh aisa btao jisse form fill krne ke baad hi next page open ho

    • @user-ep4nq9dz8t
      @user-ep4nq9dz8t Před rokem

      czcams.com/video/R7dOr99Q7aI/video.htmlsi=pajwARO9iPhD6xwQ

  • @yapayrehber
    @yapayrehber Před rokem

    🎉

  • @rohanahsugianto
    @rohanahsugianto Před 4 měsíci

    ?

  • @PirateSimulator
    @PirateSimulator Před rokem

    I tough you was gona rick roll us😂😮‍💨

  • @DaviXG7Nao7
    @DaviXG7Nao7 Před 8 měsíci

    simplesmente, não existo

  • @madhavdevverma8922
    @madhavdevverma8922 Před 7 měsíci

    1:00

  • @zx_edits-jh9xh
    @zx_edits-jh9xh Před 7 měsíci

    Ancher tag main channel link peste Kiya hota to ho jata

  • @Ayanotaro
    @Ayanotaro Před 11 měsíci

    Just Imagine Showcasing A Show And At The End It Redorects You To 🥁🥁🥁
    Rick Roll 😂😂😂

  • @musichub1845
    @musichub1845 Před 10 měsíci

    bro what the name of this app and link bro plsss

  • @kveeesh
    @kveeesh Před rokem

    05:45

  • @vosgff1763
    @vosgff1763 Před rokem

    how to make this type of this in phone

  • @user-yp8rf9hw8t
    @user-yp8rf9hw8t Před rokem

    What is the name of the application

  • @ehabmansour
    @ehabmansour Před rokem +1

    a ?

  • @JojoChannelGaming
    @JojoChannelGaming Před 2 měsíci

    my button are mini

  • @Kenny25632
    @Kenny25632 Před rokem

    00:00

  • @sevoryBgmi
    @sevoryBgmi Před 8 měsíci

    target="_blank"

  • @yapayrehber
    @yapayrehber Před rokem

    Fallow Me...❤

  • @issahasni-qh6kv
    @issahasni-qh6kv Před rokem

    Hi brother l need code login register page

  • @cybergaming543
    @cybergaming543 Před rokem

    bhai ye kahase open hota he

    • @user-ep4nq9dz8t
      @user-ep4nq9dz8t Před rokem

      czcams.com/video/R7dOr99Q7aI/video.htmlsi=pajwARO9iPhD6xwQ

  • @krishgupta5270
    @krishgupta5270 Před 5 měsíci +1

    i srslly thought that the link would lead to rickroll 🥲

  • @ayaatquranayh
    @ayaatquranayh Před 11 měsíci

    thank you