www.webdeveloper.com

Search:

Type: Posts; User: Belnz

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,797

    Thanks mate! Really appreciated as it works a...

    Thanks mate!

    Really appreciated as it works a treat and in hindsight is so obviously simple :)

    Just shows that being able to plan the theory is often so much more important that knowing all the...
  2. Replies
    2
    Views
    1,797

    How to display images from xmlhttp.responseXML

    Heya

    I cannot work out how to inbed images in XML and get it to display as an image over xmlhttp.responseXML.

    -Is it even possible?



    header('Content-Type: text/xml');...
  3. Replies
    2
    Views
    1,309

    var focalid; //DECLARE GLOBAL VARIABLE! ...

    var focalid; //DECLARE GLOBAL VARIABLE!

    function create_display(item)
    {

    xmlHttp=GetXmlHttpObject()
    if (xmlHttp==null)
    {
    alert ("Browser does not support HTTP Request")
    return
  4. Replies
    2
    Views
    1,309

    Really easily sorted after a good nights sleep. ...

    Really easily sorted after a good nights sleep.

    setTimeout always references global variables only. Simple really.

    Above has been edited to show the easy fix.

    CHeers
  5. Replies
    2
    Views
    1,309

    Ajax + setTimeout + focus() = hairloss

    Heya, I'm hoping to do a basic thing yet i canne no get it to work
    #&%$) $*&# $#&

    Basically I have a php generated form displayed via ajax.

    What i want to do is when a user updates a form...
  6. Replies
    2
    Views
    3,101

    Cool, cheers for the heads up. will start...

    Cool, cheers for the heads up.

    will start looking into this JSON
  7. Replies
    2
    Views
    3,101

    How do i split my Ajax response wiithout XML?

    Is it possible to take the responses from one php file and split components of the response to different html elements

    something like:



    function stateChanged()
    {
    if...
  8. Mate i look at this and i see you using an...

    Mate i look at this and i see you using an constant which is likely undefined. Surely $noticia[email] should instead be $noticia['email']?
    ie. a associative array key/index?
  9. You the man. Thank you so much. I knew I needed...

    You the man. Thank you so much. I knew I needed two explodes but couldnt wrap my damn mind around it.

    Thank you once again :)
  10. Please help me build a multi-dee array from a string.

    $string = "1~2~3 4~5~6";

    What i want to end up with is:

    $array[0][0] = 1;
    $array[0][1] = 2;
    $array[0][2] = 3;
    $array[1][0] = 4;
    $array[1][1] = 5;
    $array[1][2] = 6;
  11. Replies
    3
    Views
    3,924

    Wht do you mean by next page? Are you talking the...

    Wht do you mean by next page? Are you talking the page from the server or the page at the client side?

    Server side use a manual GET, client side just pass the information into a cookie then...
  12. Replies
    8
    Views
    1,018

    Why not simply upload the file directly as a blob...

    Why not simply upload the file directly as a blob into the database? That way the file content and link cannot be broken as there one and the same.
  13. Thread: reset on refresh

    by Belnz
    Replies
    28
    Views
    5,288

    Your right I don't get what you mean because by...

    Your right I don't get what you mean because by setting value='username' etc then the feild will always display 'username' after a reload of the page (submiting forms reload the page too) till...
  14. Replies
    2
    Views
    1,228

    This is what I do giorgos. I have one JS...

    This is what I do giorgos.

    I have one JS function.


    //snippet

    function create_display(action,param1,param2,param3,param4)
    {
    xmlHttp=GetXmlHttpObject()
  15. Thread: reset on refresh

    by Belnz
    Replies
    28
    Views
    5,288

    <body>

    <div class="loginForm">
    <form name="loginForm" action="">
    <table>
    <tr>
    <td> </td>
    <td> </td>
    <td><a href="#">forgot?</a></td></tr>
    <tr>
  16. View Post

    <?php
    echo "<input type='hidden id='variable' value='$variable' />";
    ?>

    <script type="text/javascript">
    js_variable= document.getElementById('variable').value;
    </script>
  17. Replies
    3
    Views
    1,070

    Heya while I haven't seen your code the error...

    Heya while I haven't seen your code the error must be basic.

    Say you have php creating the below code.

    echo "<input type='text' name='form1' value='$form1data'>";

    All that is perfectly valid...
  18. Ajax is the way. First drop down box

    Ajax is the way.

    First drop down box
    <select name='CatName' id='selectedcategory' onchange='showsecondddb(this.value);'>

    //So what ever is selected is passed to the JS function showsecondddb
    ...
  19. Absolutely. Key thing is to understand that...

    Absolutely.

    Key thing is to understand that the select form resides on the client pc while the database/php resides on the server. That means you need to be able to pass on the clients selection...
  20. Replies
    1
    Views
    700

    I used this basic script from w3 schools...

    I used this basic script from w3 schools yesterday and i works a treat (rather than debugging your code, call me lazy :))
    http://www.w3schools.com/php/php_file_upload.asp
  21. Your logic is faulty. (mental lines of thought...

    Your logic is faulty. (mental lines of thought not coding lol)
    You are creating ID's that JS needs to reference to pass to php that are all identical.

    My advise is to.
    A: Ditch the hidden input...
Results 1 to 21 of 21
HTML5 Development Center



Recent Articles