www.webdeveloper.com

Search:

Type: Posts; User: mitya

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    1,096

    Quotes in XSL - how?

    Hi all

    I can't figure out (and I've searched) how to use quotes in XSL within values. For example:

    The following outputs a link that, when clicked, does a JS alert. But I need to wrap the...
  2. Thread: adding links

    by mitya
    Replies
    2
    Views
    1,116

    I didn't understand all of your post. But from...

    I didn't understand all of your post. But from the bits I did understand:

    1) JS cannot literally read the URL bar, but it can read the current location (which is normally the same as what is in...
  3. Replies
    1
    Views
    1,647

    Sounds like a cache issue. Flash has a habit of...

    Sounds like a cache issue. Flash has a habit of digging itself deep in your cache. Eliminate this possibility first. Then, consider the way your SWF is loading the XML; was its relative path to it...
  4. Replies
    2
    Views
    1,824

    Why not do it in jQuery, which would a) massively...

    Why not do it in jQuery, which would a) massively reduce the weight of your code; and b) allow for cross-browser and cross-platform issues the type of which you suspect?

    Are you sure you're...
  5. Replies
    5
    Views
    1,314

    In my 8 or so years of professional JS I've never...

    In my 8 or so years of professional JS I've never heard anyone ask it :) What matters is the scope of availability, not literally how many there are. If you want a number, head over to something like...
  6. If you're right-clicking on a link that points to...

    If you're right-clicking on a link that points to an MP3, and trying to save it results in downloading an HTML file rather than an MP3, that's a server issue, not an MP3 issue. You might have some...
  7. Using document.write after the page has loaded is...

    Using document.write after the page has loaded is a contradiction, as document.write is for use only during the vertical load of the page. After that, it can't be used, as you'll get the blank page...
  8. Replies
    5
    Views
    1,314

    I don't know the exact number - and it depends...

    I don't know the exact number - and it depends whether you're talking about strictly ECMAScript functions or those that are browser specific - but overall JS has a much slimmer API than a language...
  9. Replies
    2
    Views
    1,547

    Not possible. For one thing, the website would...

    Not possible. For one thing, the website would have no way of knowing where it was dropped as it would be outside the browser. The best you could do would be to first charge their account THEN have...
  10. Replies
    2
    Views
    1,465

    google "auto complete javascript" - there are...

    google "auto complete javascript" - there are many pre-made scripts that perform this function.
  11. Replies
    3
    Views
    2,731

    AJAX is done with JS, not server-side. Read up on...

    AJAX is done with JS, not server-side. Read up on jQuery's $.getScript(), as I said.
  12. Replies
    3
    Views
    2,731

    Instead of loading the script via a script tag,...

    Instead of loading the script via a script tag, load it via AJAX or DOM-insertion. The easiest way is probably via jQuery's $.getScript() method.
  13. Replies
    2
    Views
    1,950

    AJAX So what is it you require help with - the...

    So what is it you require help with - the building of the form, or the sending it via AJAX? Build the form, and then if you don't want to do the AJAX yourself you could use something like my Ajaxify...
  14. Replies
    4
    Views
    1,790

    The function in question 1 is JS's simulation of...

    The function in question 1 is JS's simulation of a class. If you're unsure of the difference between functions and classes, I'd suggest looking that up. It is 'instantiated' - i.e. an instance of it...
  15. Replies
    1
    Views
    5,265

    AJAX I didn't completely follow what you're doing but,...

    I didn't completely follow what you're doing but, simply, to get a value back via AJAX from PHP, and store it in a var:

    PHP:

    <?php echo "I'm a return value"; ?>

    JS (with jQuery)
    ...
  16. Replies
    2
    Views
    1,493

    AJAX This is a little vague. Do you mean you want...

    This is a little vague. Do you mean you want multiple AJAX requests with each returning one number, or one AJAX request returning all numbers, e.g. as a comma separated list, or as a JSON string etc?
  17. Replies
    4
    Views
    1,790

    Hmm, I think the person that wrote this test was...

    Hmm, I think the person that wrote this test was a C or Java programmer, since the terms used are not entirely compatible with Javascript. JS CAN simulate object-oriented programming, but in its own...
  18. Replies
    3
    Views
    1,589

    No offence, but if you're not even sure what...

    No offence, but if you're not even sure what technologies to use, this is probably way beyond you right now. Creating a forum (depending on how advanced you wanted it to be) is a potentially huge...
  19. Replies
    4
    Views
    3,497

    ...though of course JS is impossible to hide. You...

    ...though of course JS is impossible to hide. You can encode it, but if people want your code that much they'll unencode it. As a rule, what makes it to the browser is impossible to protect.
    ...
  20. Replies
    1
    Views
    933

    This is due to event propagation - that is, a...

    This is due to event propagation - that is, a click to the inner DIV will propagate upwards through the DOM and be registered as a click to the container DIV, too, firing its event handler.

    You...
  21. Replies
    3
    Views
    4,358

    I don't really get what you mean, but I will say...

    I don't really get what you mean, but I will say that the only way to create dynamically-named global elements is via eval(). If you were storing everything on a namespace you could avoid this...
  22. Replies
    1
    Views
    1,973

    jQuery http://api.jquery.com/ready/

    http://api.jquery.com/ready/
  23. Thread: Email....

    by mitya
    Replies
    1
    Views
    1,080

    HTML

    HTML

    <form action='somewhere.htm' method='POST' id='regForm'>
    E-mail:<br /><input type='text' id='email' name='email' /><br />
    Business URL:<br /><input type='text' id='url' name='url' /><br />...
  24. Replies
    1
    Views
    2,046

    Do you get any errors in the error console when...

    Do you get any errors in the error console when you run this? Is there any reason you're avoiding something like jQuery? That would give you drag functionality and reduce your code massively.
  25. Replies
    6
    Views
    2,747

    As Kor says, this is down to the individual....

    As Kor says, this is down to the individual. Prototypal inheritance isn't one of them, I'd say - this is really quite simple when you get it. Broadly, it dictates that instances of class objects...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles