www.webdeveloper.com

Search:

Type: Posts; User: Christophe27

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    461

    Hmm, that does work but doesn't seem the correct...

    Hmm, that does work but doesn't seem the correct way to do it :)

    There must be a simple explanation, anybody?

    Thanks for the support refreezed!

    Christophe
  2. Replies
    4
    Views
    461

    Yes, that's exactly what I'm doing. I use ...

    Yes, that's exactly what I'm doing. I use encodeURIComponent() to encode URL's but like said, the encoding itself works fine, but when I paste the following url in the webbrowser (i use chrome) the...
  3. Replies
    4
    Views
    461

    Encode/decode URL

    I think this is a basic question, however, for some reason my small and simple script won't work ..

    Since my framework don't allow special characters, I have to encode an url. So for example...
  4. Where are the die hard JavaScripter here?

    Hi,

    I'm struggling with a problem for quite some time and would be happy to finally find a solution. I use JS on the front and backend (Node).

    I store all my functionallity for the backend in...
  5. Replies
    9
    Views
    892

    And at the moment I use this mess: var ns...

    And at the moment I use this mess:



    var ns = params.namespace.split(' ');
    params["clientIP"] = socket.handshake.address.address;


    if( typeof ns[1] === 'undefined' ) {
    ...
  6. Replies
    9
    Views
    892

    Hi Gray, Thanks for your reply! Your result...

    Hi Gray,

    Thanks for your reply!

    Your result gave: [['this']['is']['a']['namespace']], not the desired structure I was hoping for ...



    I'm setting up a node server using socket.io. On the...
  7. Replies
    9
    Views
    892

    Anybody? Help is very appreciated!

    Anybody? Help is very appreciated!
  8. Replies
    9
    Views
    892

    Yes, I know, but that will create an one array...

    Yes, I know, but that will create an one array with four properties. I need a an array, in an array, in an array .... ;)

    split() will create ['this', 'is', 'a', 'namespace'] instead of...
  9. Replies
    9
    Views
    892

    Transforming a string into an object

    Hello,

    Does anybody knows an efficient way to go from ...

    var ns = this is a namespace

    ... to this ...

    var ns = ['this']['is']['a']['namespace']
  10. Regular expression to filter integer followed by ||

    Hi,

    Can anyone help me with this one. I'm not a master in regex :(

    I would like to filter the following string from ...

    '123||Hi there'

    ... into ...
  11. Replies
    0
    Views
    533

    Asynchroon socket io

    Hi,

    I have a function which renders templates for my single page application. The function gets its data via socket.io.


    function renderTemplate() {

    var result;

    ...
  12. Replies
    0
    Views
    945

    Socket.io on connection timeout?

    Hi,

    I can't find an error event which is triggered when the initial connection with the server over socket.io failed or lost after for example 10 minutes?

    Does anybody know a workarround?
    ...
  13. Replies
    2
    Views
    1,344

    Node and socket.io on multiple servers

    Hi,

    We ran into a problem. Imagine you have 5 users with a socket.io connection to a Node server. When the 'onchange' event gets triggered, all clients will be notified. But what if you have these...
  14. Replies
    4
    Views
    606

    Using the array notation works fine for me!...

    Using the array notation works fine for me! thanks!
  15. Replies
    4
    Views
    606

    I'm not sure if you understand me (or if I...

    I'm not sure if you understand me (or if I understand your reply)

    I try to achieve the following:



    // I try to write some code like ...
    GLOBAL.foo.bar.variable

    // Instead of ...
  16. Replies
    2
    Views
    375

    thanks!!! :)

    thanks!!! :)
  17. Replies
    2
    Views
    375

    Transform a string

    Hello,

    Can any of you guys help me out with the following string transformation pls? :)

    /hi/guys/id/from/page

    ... has to become ...

    hi.guys.id.from.page
  18. Replies
    4
    Views
    606

    How to use variable in namespace

    Hi,

    Does anybody know how I can use a variable in a namespace?



    var variable = 'bar';

    new GLOBAL.hi.there.variable();
  19. Replies
    5
    Views
    690

    Capture language of users browser?

    Hi,

    Is it possible to capture the language of a users web browser with JavaScript? If not, is it possible with PHP or Node?

    Thanks! :)

    Christophe
  20. Thank you for your response! :)

    Thank you for your response! :)
  21. Difference between appending constructor to variable or not

    Hi,

    I wonder what the difference is between appending a constructor to a variable or not.

    So what is the difference between the following code?

    var foo = new bar();


    new bar();
  22. Replies
    2
    Views
    443

    And it works! Thx!

    And it works! Thx!
  23. Replies
    2
    Views
    443

    AJAX callback

    Since I have lots of ajax calls to the server, I want to create one function which makes the call dynamically.



    function ajaxcall(url, param, type) {
    var result;
    $.ajax({
    url: url,
    ...
  24. Replies
    4
    Views
    1,088

    Just tested it, works great! thanks!

    Just tested it, works great! thanks!
  25. Replies
    4
    Views
    1,088

    So simply insert a script tag in the html, set...

    So simply insert a script tag in the html, set the source and the file will be loaded and executed on the fly?
Results 1 to 25 of 319
Page 1 of 13 1 2 3 4
HTML5 Development Center



Recent Articles