www.webdeveloper.com

Search:

Type: Posts; User: Gledders

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,039

    Bsmbahamas. Thank you for the reply. I haven't...

    Bsmbahamas. Thank you for the reply.

    I haven't had time to check yet, but I get exactly what you mean. Two things I did not know here come into play - possibly because my original programming...
  2. Replies
    9
    Views
    2,039

    I know what you mean, however I have tried with...

    I know what you mean, however I have tried with asynchronous set to true and false, no difference. Also (not being argumentative, just figuring this out,) wouldn't the fact that it is setInterval and...
  3. Replies
    9
    Views
    2,039

    In the end I gave up. I just could not get the...

    In the end I gave up. I just could not get the timer to halt. But to answer your question Logic Ali, yes the call is asynchronous. Therefore I gave up trying to stop it because it is such a small...
  4. Replies
    9
    Views
    2,039

    I wanted to edit the above post with more info,...

    I wanted to edit the above post with more info, but couldn't find an edit button:

    I have read and read and read up about this and I can not for the life of me understand why this code doesn't...
  5. Replies
    9
    Views
    2,039

    Javascript setInterval, clearInterval

    I have read and read and read up about this and I can not for the life of me understand why this code doesn't work.

    It is a simple routine check that sens an ajax call to assess whether the...
  6. Replies
    2
    Views
    2,605

    Aha. Thankyou very much HyperionXS. Makes...

    Aha.

    Thankyou very much HyperionXS. Makes sense once it's explained, I just assumed I could change the css attribute for one css class. (object)

    Needed to personalize the example, but working...
  7. Replies
    2
    Views
    2,605

    document.getElementsBy.... Differences

    Hi. Could anybody explain why:


    document.getElementsByClassName("rngimg").style.height=10+"px";

    does not work on any image in that css class, but

    ...
  8. Nap0leon Thanks for your time. This code...

    Nap0leon

    Thanks for your time. This code doesn't work and I did have a later version of it which I didn't keep but it gives an idea of where I was heading.

    ...
  9. Well yes! Tempting but actually the problem is...

    Well yes! Tempting but actually the problem is best viewed from the opposite approach. I actually want the images to get larger as the images are filtered by the onkeyup event triggering an SQL...
  10. Replies
    5
    Views
    1,321

    Cassius A little trick I use is js onfocus=""....

    Cassius

    A little trick I use is js onfocus="". If you use that to validate the previous field and then combine them all for the submit button, you get something quick and snappy. I'm using AJAX...
  11. Most efficient packaging of graphics in a div

    This is a really difficult one. I will give lots of background info even though I have a very specific question. I doubt the question would make sense unless I explained the reasons for the question....
  12. Replies
    2
    Views
    1,769

    Hi Tom The answer to your question is yes....

    Hi Tom

    The answer to your question is yes. However, there are many things that could change the measure of difficulty but essentially what you are asking is quite simple - ie; can one update a...
  13. Hi Xelawho. Thanks for your time. By callback,...

    Hi Xelawho. Thanks for your time.

    By callback, do you mean the state change? If so, I have done that in the full code. This is the full code that I missed out:

    function ajaxget(ident, respnse,...
  14. WolfShade. I tried this function sizeimg(){...

    WolfShade.

    I tried this

    function sizeimg(){
    ajaxgetval('simg', 'sizimg.php');
    var str = eval(response);
    alert(str);
    }
  15. Hi WolfShade. Thanks for the reply. Actually I...

    Hi WolfShade. Thanks for the reply.

    Actually I did try that. Like this:

    var response=req.responseText;
    return response;
    // alert(response);


    However, your reply has got me wondering if...
  16. Passing AJAX response-generated JS variable to another function

    Sorry about the horrible title. You are unlikely to arrive here through Google...

    I have no trouble passing variables between functions except for one specific case which baffles me. I have...
  17. Thankyou aj_nsc. Got it. Just needed a nudge...

    Thankyou aj_nsc.

    Got it. Just needed a nudge in the right direction. The only thing that does raise a question in my mind would be how do you get apostrophes/quotes around the very first character...
  18. Missing parentheses? I assume that the wildcard...

    Missing parentheses? I assume that the wildcard to select all fields in not required? The table in question has 50 or so fields.

    I'll give it a try.
  19. Using a PHP Array to Select Data from MySQL Db

    I'm going round in circles on this. I need another brain to help. (Not literally - yours might do!)

    I am trying to use the contents of an array to set the criteria of a select statement which is...
  20. Replies
    8
    Views
    4,199

    Bionoid. I solved it, although I still have more...

    Bionoid. I solved it, although I still have more to do to finish the project.

    Basically, I needed to declare $SESSION_['icons'] as an array thus:



    if(!isset($_SESSION['icons'])){...
  21. Replies
    8
    Views
    4,199

    Bionoid, I'll get back to you tomorrow. I'm not...

    Bionoid, I'll get back to you tomorrow. I'm not near a computer, so this is from my cell phone. I'm in the UK. Many thanks so far.
  22. Replies
    8
    Views
    4,199

    Sure. It's not a huge code. It triggers an event...

    Sure. It's not a huge code. It triggers an event that looks like a form opening in VB. It actually populates a div with the xmlHttp return using JS/PHP



    <?php
    session_start();

    $dimension =...
  23. Replies
    8
    Views
    4,199

    Bionoid Thanks for the quick response. Yes...

    Bionoid

    Thanks for the quick response.

    Yes I did. If this is relevant, this is part of an AJAX page and the session is automatically started in the 'parent' index.php page.

    I tested that...
  24. Replies
    8
    Views
    4,199

    PHP Add to Session Array

    This is a quick one. Got me stumped.

    I want add a value to part of the session array ($_SESSION['icons']).

    Tried to
    $_SESSION['icons'] = $row_rs_tiny_thumbs['ItemID'];

    tried this:
    ...
  25. I might need to re-visit the problem. I gave up...

    I might need to re-visit the problem. I gave up in the end and resorted to eval() which works, but I know it's not ideal. It could have been a typo or something, but to be honest I'm not sure that's...
Results 1 to 25 of 72
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles