www.webdeveloper.com

Search:

Type: Posts; User: AliHurworth

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Jeditable

    by AliHurworth
    Replies
    0
    Views
    2,248

    jQuery Jeditable

    Hi, this is a question about implementing jeditable...

    Briefly, this is what I'm aiming for...

    Open a text file (chapter02.txt - part of the script to Back to the Future)
    Each line of script...
  2. Any ideas?

    Ha seems I'd already done the spade-work in the get_cookie function.

    I just used:


    function checkCookie() {
    var x = get_cookie ('displayWarning');...
  3. [RESOLVED] Using returned variable values

    Hi all,
    This is a cookie question.

    I've set a cookie with a name-value pair of warning=none/block.

    I'm then aiming to use this to set the CSS when the page loads, for a particular element. The...
  4. What worked...

    (Thanks Dasher)
    Okay what worked is as follows.
    There might be more CSS than you need, especially the height declarations. The main things are that the li's are displayed as block, and the a's are...
  5. [RESOLVED] Horizontal list with rollovers...

    Hi all,
    Horizontal list problem:

    Cannot get a horizontal list to rollover - it just works in a tiny area where the &nbsp is.

    HTML:


    <ul id="navlist" >
    <li id="nav_home" title="return...
  6. Replies
    3
    Views
    4,088

    MD5 (or SHA1) with multiple values

    Hi just a research question: I'm converting a new user and storing the email as a MD5 in order to get them to check in.
    It occurs to me that I could use other values at the same time (so a hashed...
  7. Replies
    3
    Views
    2,941

    Thanks, but it's still not working...

    So I've been looking at the PHP, and made some alterations after passing the query properly:


    if ($type=='range') {
    $query="SELECT COUNT(*) FROM sessions WHERE (DATE BETWEEN CAST...
  8. Replies
    3
    Views
    2,941

    Comparing dates with PHP and MySQL

    Hi, I'd like to find out how many records exist between two dates, using PHP and MYSQL.

    At the moment I'm getting an error: mysql_num_rows(): supplied argument is not a valid MySQL result resource...
  9. Replies
    4
    Views
    2,005

    Anyone?

    If anyone is still reading, this is the current version of the code. With, ahem, the pass word removed. Seems to run the HTML okay, then stops at the loop.

    Can anyone help? I'm really struggling...
  10. Replies
    4
    Views
    2,005

    Hmm, throws up more problems!

    Thanks NogDog,
    I've changed the code to refelct what you say and it isn't working.
    This is the full form:


    <form id="new_session" action="prcs_create_session.php" method="post">
    <table>
    ...
  11. Replies
    4
    Views
    2,005

    Formatting a simple SQL query...

    Evening...
    I'm trying to create a dynamic select drop-down box, but struggling with the SQL to create the options.

    This is what I have:


    $query = "SELECT * FROM places";

    $result =...
  12. I see...

    Thanks to both of you.
    This is the code that worked:


    $result=mysql_query('SELECT * FROM wkho_TTX.users WHERE email="'.$email.'" AND mobile="'.$mobile.'"');

    So, the deal is that the query...
  13. Okay...

    So, following your advice about quotes at least, it looks like this...


    $result=mysql_query('SELECT * FROM wkho_TTX.users WHERE email="$email" AND mobile="$mobile"');
    ...
    No dice. I'm...
  14. [RESOLVED] MySQL: What's wrong with this query?

    Hi there.
    I have a problem getting the following code to work:


    // username and password sent from form
    $email=$_POST['email'];
    $mobile=$_POST['mobile'];

    // To protect MySQL injection...
  15. Replies
    7
    Views
    2,927

    Works...

    Sterling you are right: it was the = vs == thing. Full code to follow.
  16. Replies
    7
    Views
    2,927

    Hi both, thanks for sorting out the syntax....

    Hi both, thanks for sorting out the syntax.
    However, it still doesn't seem to work as planned...

    This is the full code, including your adjustments (don't worry about the teabags thing!):

    ...
  17. Replies
    7
    Views
    2,927

    Sterling work. Thanks! But that's not the...

    Sterling work. Thanks!
    But that's not the problem...
  18. Replies
    7
    Views
    2,927

    Accessing variables inside a function

    Hi, I've attached a cut-down version of a script I am working on. It's a pretty simple button with a function attached, which creates a random number and compares it with a preset value.

    I can't...
  19. jQuery full code...

    ...at http://www.holtworth.net/minisites/jm/index.php

    In de head:

    <script type="text/javascript" src=http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js></script>
    <script...
  20. jQuery Resolved!

    Fang, thank you - that was it!
  21. jQuery Further to my previous post...

    So this is in the header:


    <script type="text/javascript">
    $(document).ready(function(){

    $('#info').hide();
    $('#discog').hide();

    $('a#infolink').click(function(){
  22. jQuery [RESOLVED] Showing/hiding content with jquery

    Hi all,
    I'm trying to use jQuery to show and hide three pieces of content according to a user clicking.

    This is what I have: (I'm at work, so i can't post the code, although I will later)...
  23. Replies
    2
    Views
    1,501

    AJAX xmlHTTPrequest - no response from server

    Hi, I am running the scripts below which should return a string containing a URL.
    So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as ?Location=. It won't...
  24. Replies
    13
    Views
    4,138

    And just to amplify, the script seems to work...

    And just to amplify, the script seems to work okay if the form is submitted by a normal button, and the landing page just echo's $sweep.
  25. Replies
    13
    Views
    4,138

    Hi, if anyone is still listening... So I've gone...

    Hi, if anyone is still listening...
    So I've gone over to AJAX and it almost works, except that the returned data isn't being picked up.

    The form:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles