Jump to content

oc1ober

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About oc1ober

  • Rank
    Newbie
  1. Hello ... Please ask how to get the member information (Username) is logged in into an input of the Form, Can you help me with ... Thank you
  2. I'm Shortcode wordpress but it doesn't work, the purpose is to show the content to designated members... For example: in a post or page, Only allow members id1, id7, id25...Visit, And other members cannot view the content, Please edit it for me... Thank you. add_shortcode( 'userid', 'check_user_id' ); function check_user_id($atts, $content = null) { if(current_user_id) {return '<p>' . $content . '</p>';} else {return "";} } [userid_logged_in id = "id1","id7","id25","id27"] Content displayed [/userid_logged_in]
  3. Hi guys, I am having problems using dynamic data list, It doesn't work when I insert a form into Blogspot, how should I fix it? <html> <head> </head> <body contenteditable="false"> <script> function populate(Ts7, Ts8){ var Ts7 = document.getElementById(Ts7); var Ts8 = document.getElementById(Ts8); Ts8.innerHTML = ""; if(Ts7.value == "Phòng kế hoạch"){ var optionArray = ["|","|Phòng kế hoạch"]; } else if(Ts7.value == "Bản"){ var optionArray = ["|","|Bản1","|Bản2","|Bản3"]; } else if(Ts7.value == "Huyện"){ var optionArray = ["|","|Huyện1","
  4. I need to edit the above code, Encrypt only, no need to create password?
  5. Thanks for your help, can you guide me on another encoding?
  6. I found the HTML encoding code, It works the way is encoding plus set password, It works very well ... But what I need is only HTML encoding, not password setting. I edited the above code myself but it doesn't work and need your help? And here is the code: https://www.w3schools.com/code/tryit.asp?filename=GO520MFBKDUJ
  7. I found a snippet of code to get data from a cell in a Google sheet into an HTML input ... It works fine, but not met ... My requirement is that it should work. after I press the button, do not automatically run when opening or loading the Web page as it is now ... Can you please fix it according to my mind, Thank you very much in advance. <html> <body> <input name="form1_1" id="f1_1" type="text" /> <button name="submit_form1" id="submit_form1" type="button" onclick="">Click here to get data</button> </body> <script> const onDataLoaded = (dat
×
×
  • Create New...