dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Gledders

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    403

    Hi Coothead. Thanks for the reply. I can...

    Hi Coothead.

    Thanks for the reply. I can honestly say I learned something today. I need to do a bit more reading and experimenting, but I think this could be the solution. I'm trying to bind data...
  2. Replies
    3
    Views
    403

    Quick Edit: Obviously I would declare a...

    Quick Edit:

    Obviously I would declare a variable above. So each line would be:

    var whatever = document.getElementById(sampleid).etc etc....
  3. Replies
    3
    Views
    403

    Custom Attributes

    Hi. Can anybody point me to a list or just offer a quick explanation to the following question please?

    I would like to be able to pass a custom attribute to a function, the best example being...
  4. Replies
    9
    Views
    2,682

    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...
  5. Replies
    9
    Views
    2,682

    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...
  6. Replies
    9
    Views
    2,682

    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...
  7. Replies
    9
    Views
    2,682

    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...
  8. Replies
    9
    Views
    2,682

    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...
  9. Replies
    2
    Views
    4,118

    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...
  10. Replies
    2
    Views
    4,118

    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

    ...
  11. 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.

    ...
  12. 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...
  13. Replies
    5
    Views
    1,566

    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...
  14. 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....
  15. Replies
    2
    Views
    2,012

    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...
  16. 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,...
  17. WolfShade. I tried this function sizeimg(){...

    WolfShade.

    I tried this

    function sizeimg(){
    ajaxgetval('simg', 'sizimg.php');
    var str = eval(response);
    alert(str);
    }
  18. 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...
  19. 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...
  20. 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...
  21. 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.
  22. 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...
  23. Replies
    8
    Views
    5,940

    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'])){...
  24. Replies
    8
    Views
    5,940

    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.
  25. Replies
    8
    Views
    5,940

    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 =...
Results 1 to 25 of 75
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles