Techno World Inc - The Best Technical Encyclopedia Online!

THE TECHNO CLUB [ TECHNOWORLDINC.COM ] => Javascript Tricks => Topic started by: Hellraiser on August 15, 2007, 01:38:02 PM



Title: Accept and Reject Testimonials
Post by: Hellraiser on August 15, 2007, 01:38:02 PM
Accept and Reject Testimonials

# These scripts can Accept or Reject testimonials.
# Run the script on Home Page.
# For Accepting Testimonial:

Code:
javascript:i=1;setInterval('_submitForm(document.forms[i],"handleTestimonial");i=i+2',800);void(0)

# For Rejecting Testimonials:

Code:
javascript:i=2;setInterval('_submitForm(document.forms[i],"handleTestimonial");i=i+2',800);void(0)

Code:
javascript:df=document.forms;a=document.getElementsByTagName('form');for(x=0;x<a.length;x++){df[x].innerHTML+='<input type="submit" id="click'+x+'" name="Action.handleTestimonial" style="display: none;"><iframe name="'+x+'delete" width="0" height="0">';df[x].target=x+'delete';document.getElementById('click'+x).click()};void(0)

# Use Any of them to Reject.


Title: Re: Accept and Reject Testimonials
Post by: Mark David on August 29, 2007, 02:36:51 AM
nice tricks..