Skip to content
Advertisement

Tag: html

Input password show and hide

I hope I don’t bother you with a question 🙂 . I have little knowledge about writing code, so I encountered an error there are two inputs I added an eye icon with bootstrap when clicked, the password appears the first input works, but the second input does not show the password What do you think is the problem. sorry

In modal form get element value correct row

i have problem with getting info in my modal form. I have rows what shows information. Screen shot bellow Then i press button right im getting modal window. Screen shot bellow I want make then i press my button in right get what row info and put in input. My code in php and html MY MODAL FORM code My

Button Colour Change HTML

I know similar questions have been asked before, but it was not helpful in my case. I have tried a lot and have failed. I have an HTML code ,JS code , and php script . What’s happening now is that I have a button called “Lights On” in my html page. When i press the “Lights On” button it

HTML Form stops working when I add another form

I have a php function echo out a form if specific parameters are met and everything was working perfectly. After I added the a few more forms under the original form (the php code is almost identical if it matters and the action parameter goes to the same file for them all) the forms above the most recently added form

Hiding “write reply” textfield under each comment

I’m working on my school project which is gallery, a clone of flickr and unsplash really. Right now I was working on comments system which works rather well all things considered, but I also want to add replies under those comments and having textfields under each comment seems clunky, so I wrote small jQuery script for it: This is test

Dynamically get path to file

I’m making a website and I’ve moved all the contents of the HTML <head> to a header.php file, in which I link to my stylesheets, etc.. On my other pages I’m including this document. But when I include it in pages that are in a sub folder, the link to the stylesheet is no longer correct, I’ve solved it by

How to get input from form using PHP/Jquery live?

I have a simple HTML form that includes an input field and a submit button. How can I use JQuery to get the text from the input field live and then send that data to a PHP file that evaluates the data? Form: Edit: here’s what I want it to look like Answer Your current code doesn’t need jquery to

How to insert data in a XML sub tag

let’s suppose that i have this tag with this html form if I want to insert data I do it work nicely without any problem now if we want to insert a data in the sub tag I thought we should do something like let’s suppose that we have “hello” in $_POST[‘something’] variable I expected to have something like but

How to use condition in xml fieldset

I have two eddition in my realise joomla web app. “Common” and “Special” edition. I want to limit “Common” edition with exclude “icons” dir from “images”. expected: I tried the following code but it was not correct (Apparently, if segment cannot be used within fileset) Answer I use condition for this

Why does my PHP file stop executing when I use session_start()?

I am creating a login page for a website using PHP. I added “session_start();” as seen below to start the session. Then I put the rest of the websites code below it (other php, html, etc). Whenever I use session_start, the program stops executing and shows a blank page. Also, the page displays error 500 on some browsers. I’m not

Advertisement