Welcome to CFConcepts!

  • Links

  • Categories

  • Meta

  • Archives

  • SHOW / HIDE NAVIGATION

    Resetting a form with jQuery

    I been experimenting with different ways to clear a form after an ajax submit.  An add form to be specific.

    I found a post from the old jQuery Google Group by Brandon Aaron.

    jQuery('#myForm')[0].reset();

    I tested it out and it works great.

    Changing the VNC port in Ubuntu

    Today I had to install Ubuntu in a Virtual Box on one of our servers. Accessing the Ubuntu desktop via the remote desktop connection was rather slow, so I decided to enable the remote desktop on VNC. I enabled it without any problem. They make it really easy. The issue I had was the default port 5900 was not opened in the company firewall. I did have another port available so I went to change it. All the documentation I found said there should be an advanced tab but there wasn’t. Finally after some Google searching I found this link:

    Dave’s Tech Support Blog

    The brief summary is:  You open up the gconf-editor and set an alternative port, check the checkbox that says “use alternative port” and then reboot. Easy as that!

    Dave is my hero today.  Thanks Dave!