- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
I can't seem to hide my paragraph the way i wanted it to be. I checked my code a lot of times and it seems correct. I don't know why it's not running. <!DOCTYPE html> <html lang="en"> <html> <head> <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/toggle.js"></script> </head> <body> <input type="button" value="hide" … | |
it seems i can't output my username value from my database. All it gives was also a value of "username". So if i'm echoing my variable $users which is holding the rows of my username from my database, it strangely outputs "Welcome, username". I tried also with my password but … | |
I'm trying to clear a value in a textbox whenever i click the clear button. But i keep on getting a syntax error expected "=" in the line document.getElementByid. Is my code wrong? <?php function clear(){ document.getElementByid('textinput').value=""; } if (isset($_POST['textinput'])){ echo $_POST['textinput']; } if (isset($_POST['clear'])){ clear(); } ?> <form action="index.php" … | |
I'm having trouble with this code. Whenever i clicked the button to show the hidden text, it displays the text but only like for 1 second and hides again. Am i missing or something? $(document).ready(function(){ $("h3").hide(); $(window).load(function(){ $('#loginbutton').click(function(){ $("h3").show(); }); }); }); | |
How do i put div tag in my example echo here? if ($_SESSION['username']) { echo "you are logged in as: ".$_SESSION['username']; } I want to put style(css)on that $_SESSION(username) whoever logins. For example, you are logged in as: Sam I want to style the name Sam. | |
I can't seems to open/run my jquery file for 3 days now and keeps me wondering what sort of my problem is. Just last week i can hover, slidetoggle, and other effects with the page i created. I presumed i'm correct with the code that i had: <script type="text/javascript" src="jquery/jquery.js"></script> … |
The End.