Results 1 to 3 of 3

Thread: I need jQuery/Ajax message box

  1. #1
    Join Date
    Mar 2012

    I need jQuery/Ajax message box


    Iím looking for a template or plug in for posting a comment to a page without needing a refresh. For example, if I comment on a YouTube video, the comment instantly appears beneath where I typed it, without a refresh. This is what I want to create.

    Can you please guide me in the right direction if you know?

    Thanks a lot

  2. #2
    Join Date
    May 2004
    chennai, tamil nadu, India
    This may not be exactly what you are looking for but here is a simple jQuery contact form example and tutorial.
    Chris, Senior Developer,
    Php laravel developers,

  3. #3
    Join Date
    Feb 2012
    if you're using a form button to post the comment, use onClick attribute to call the javascript/ajax function. If its a link, you can do the same in href.

    HTML Code:
    <button type="submit" onClick="javascript:thefunction()" />
    HTML Code:
    <a href="javascript:thefunction()" />
    It updates the page content without changing the url.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles