CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TimothyH

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    9,408

    Re: AJAX post, how to encode?

    OK thanks, but aren't special chars automaticly encoded by the POST call ?. or is this insufficient.
  2. Replies
    3
    Views
    9,408

    AJAX post, how to encode?

    Hello everybody,

    I guess my main question is; How do i encode HTML data from a textarea to prepare it for an AJAX call ( post method ).

    I'm trying to insert some html code in a record in my...
  3. Replies
    3
    Views
    11,350

    Re: Getting the twitter JSON

    In't there a workaround?
  4. Replies
    3
    Views
    11,350

    Getting the twitter JSON

    Hello,

    I'm trying to get the JSON string from a twitter timeline by sending a XMLHttpRequest with the URI of the timeline: http://twitter.com/statuses/public_timeline.json?callback=timeline. I...
  5. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Re: Webshop

    Thank you,

    does a session name need to be unique for every user? i plan to create a unique session name for every visitor that enters the site. Then i'll save the data in the database with the...
  6. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Re: Webshop

    Thank you, Why should i put the sessionID in a Cookie, why can't i just GET the sessionId with session_id(); ?
  7. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Re: Webshop

    Should i use Sessions or cookies?,
    In theory are they the same ?
  8. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Re: Webshop

    Thank you :), actually; i don't need to create a stock inventory. I was thinking to use Temporary XML files on the server to store the shoppingcart data. What do you think about that approach ?
    ...
  9. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Re: Webshop

    Thanks for the reply,

    it has to be a simple webshop, and i can't use a opensource solution because this project is for a exam for my college. iv'e gor the database filled with products and such, i...
  10. Thread: Webshop

    by TimothyH
    Replies
    11
    Views
    2,055

    Webshop

    Hello Everyone,

    I'm building a webshop. I have to track the user's navigation on the website and i have to create a "shoppingcart". What is the best way to approach this. Should i use Cookies or...
  11. Replies
    1
    Views
    7,357

    Webshop user tracking

    Hello,

    I'm developing a webshop; i've to track the user's activities within the webshop.
    I am totally new to this, i have the following in mind: I'll use a PHP script to create a XML document on...
  12. Replies
    10
    Views
    19,325

    Re: AJAX readyState = undefined

    note

    I just found out that when using:




    xmlHttpRequestObject.onreadystatechange = function(){

    if(this.readyState==value){
  13. Replies
    10
    Views
    19,325

    Re: AJAX readyState = undefined

    ... :(
    Thanks for the help. it doesn't help that when assigning an event you have to use all lowercase.


    EDIT: i have one more question. In what type of context can i use this?
    ( if this...
  14. Replies
    10
    Views
    19,325

    Re: AJAX readyState = undefined

    Thanks for your help so far, though the solution you have given me still returns undefined :(.
    I'ts weird because i've used exactly the same code in another section of my application and it does not...
  15. Replies
    10
    Views
    19,325

    Re: AJAX readyState = undefined

    Thanks for your reply, but i have tried this already and i still get an "undefined"... i thought this referred to the "owner" of the function when the function is asigned like
    object.event =...
  16. Replies
    10
    Views
    19,325

    AJAX readyState = undefined

    Hello Codegurus,

    The following piece of code returns a readystate that's "undefined".
    The alert appears 4 times in IE and in FF. so i reckon the readystate changes 4 times ?; but it's always...
  17. Replies
    2
    Views
    6,111

    Re: Javascript - IE7 image hover script problem

    Thanks!
  18. Replies
    2
    Views
    6,111

    Javascript - IE7 image hover script problem

    Hi Everyone,

    Iv'e written a simple script that applies a Image hover per class.
    In FireFox it works fine but it doesn't in Internet Explorer 7.
    I can't figure out why :(.
    Could you guys please...
  19. Replies
    5
    Views
    3,279

    Solution!

    Yay, i've found the solution. I replaced the <embed> element with a <object> element in the code that is executed in firefox, now it works fine.
  20. Replies
    5
    Views
    3,279

    Re: Emmbed Windows media player Firefox

    There should be nothing wrong with the embed code because i copeyd it direcly from a webpage. Also there are no syntax error's in the code. The weird thing is that its a direct copy and it doesn't...
  21. Replies
    5
    Views
    3,279

    Re: Emmbed Windows media player Firefox

    Thanks, but i have already tried that. The funny thing is, is that the exact same code does work with firefox because when i view the emmbed player on the site where i took the script from then it...
  22. Replies
    5
    Views
    3,279

    Emmbed Windows media player Firefox

    Hello Codeguru's,

    I copyed this piece of code to generate a emmbed windows media player with a streaming video straight from a webpage.

    Now when i paste this in a HTML document and i open it in...
Results 1 to 22 of 22





Click Here to Expand Forum to Full Width

Featured