LGF Ajax Comment Preview

Charles Johnsonfollow me on twitter
Thu Jul 5, 2007 at 12:46 pm PDT • Views: 212

We have a very cool enhancement to announce: our comment preview feature, that lets you see what a comment will look like with all your formatting before you post it, is now driven by Ajax.

For years, when you clicked the ‘preview’ button, you were taken to a separate page. Now, clicking the button will cause a preview of your comment to display just underneath the comment posting form. Using Ajax, I’m able to call a PHP module on our server that formats, filters, and transmogrifies the comment, rendering it exactly as it will appear when posted.

Again we see that dual Ajax benefit—faster for you to see a preview, and less bandwidth-intensive for our server. Stinky thanks you, the hamsters thank me, and I thank myself for coding it.

Important! You should use your browser’s ‘Reload’ button to reload the page now, so that your browser is using the latest versions of all the code.

Advertisement

336 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Unh. can't help myself.

TwitterFacebook
LGF Pages
Recent Pages

Conservative Moonbat
Anti-Islamic Group Trains Tennessee Deputies
1 hour, 51 minutes ago
Views: 22 • Comments: 3
Tweets: 0 • Rating: 1

No. Just, no.
The least romantic city in the US
5 hours, 31 minutes ago
Views: 78 • Comments: 1
Tweets: 0 • Rating: 0

No. Just, no.
Psycho jerk was psycho
5 hours, 51 minutes ago
Views: 75 • Comments: 1
Tweets: 0 • Rating: 0

researchok
Forrest GOP
7 hours, 46 minutes ago
Views: 89 • Comments: 0
Tweets: 2 • Rating: 1

researchok
Obama Plan Will End Dozens of Business Tax Breaks
8 hours, 54 minutes ago
Views: 107 • Comments: 0
Tweets: 1 • Rating: 1

Randall Gross
NBCU Taps Google to Create Cross-Platform Audience Metric for 2012 Olympics
9 hours, 41 minutes ago
Views: 87 • Comments: 0
Tweets: 0 • Rating: 2

Randall Gross
Exclusive: Church Probes How Priest Was Ordained After Abuse Sacking - Main Section - Yorkshire Post
9 hours, 44 minutes ago
Views: 111 • Comments: 0
Tweets: 0 • Rating: 2

Randall Gross
Santorum's Stone-Age View of Women
9 hours, 46 minutes ago
Views: 164 • Comments: 0
Tweets: 1 • Rating: 2

Channeling Confucius
The Dogs Against Romney Facebook group tries to put on an IRL protest against the Republican outside the Westminster Kennel Club
9 hours, 55 minutes ago
Views: 98 • Comments: 0
Tweets: 0 • Rating: 0

Bob Dillon
Hidden Communal Guns Are More Common
10 hours, 19 minutes ago
Views: 139 • Comments: 2
Tweets: 0 • Rating: 3

 Frank says:

The drummer's playing in 4/4, the Saxophone player is playing 5/4, the guitar player is picking his nose....