Jump to content

Andy11548

Members
  • Posts

    163
  • Joined

  • Last visited

Everything posted by Andy11548

  1. Yeah I tried that. And yes, the validator does fix your errors if you ask it to and the only error I had was because I didn't have <title></title> in my head tags.
  2. Right, I just done that, and that didn't fix it either. I found that if I remove the "html" part from <!DOCTYPE html, then it works, just fucks my HTML code up then. I don't know how to win in this situation lol.
  3. I put the script in a seperate file and closed every tag etc, and it still didn't working :S.
  4. Nope, it's on my localhost. All my other JS works, its just this one that doesn't and it's really confusing me, I really don't see why adding the doctype would stop the script working :S. I got teamviewer if that'd do? Thanks, Andy.
  5. Right, I have a script that if I have; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> that part in my site, the script doesn't work. If I remove it, it does. $(document).ready(function() { $('#feedback').load('check.php').show(); $('#username_input').keyup(function() { $.post('check.php', { username: form.username.value }, function(result) { $('#feedback').html(result).show(); }); }); }); If anyone knows why, it would be a great help. Thanks, Andy.
  6. Nevermind, was easier than I thought. I think, thinking of how to do it to hard confused me and I tried thinking a harder way around in. Sorry for this. Andy.
  7. Right, theres nothing wrong with this at all. It works how you ask it to. I've just copied your files and tested them, and it works 100%. Check your 'memberspage.php' for any redirection to 'login.html'/'login.php'.
  8. Thank you very, very much. This is exactly what I was looking for. I'll have to revise and write the method to make sure that I remember it. You have a been a great help and I thank you alot. Thanks again, Andy.
  9. Hello, I'm trying to make 2 arrays with a connection to each other and I want them to loop together so that the arrays are connected. $page_title = array('Home', 'About Us', 'Members'); $page_link = array('index', 'about', 'members'); I want them to automatically convert it so it's like: <a href="index.php">Home</a> || <a href="about.php">About Us</a> || <a href="members.php">Members</a> How could I make it so that it automatically makes it like that, from arrays? If there is a way, or another way which is simular, help would be greatly appriciated. Thanks, Andy.
  10. How do I make it so that when I press the 'Return/Enter' key it is recognised as a new line?.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.