I have downloaded and used Ads Theme Template for Find Cheap World from eBlog Templates. eBlog Templates provides the enough information such as "Features Include", "how to set up each widget", and "Revision History" so it's not hard to set up the Ads Theme Template.



But when I downloaded the Ads Theme Template XML file from eBlog Templates and uploaded it into Blogger, I see the JavaScript Error below:



Ads Theme Template with Error


Here's what I fixed the error.

1. The error was occurred on Search Function so find out the code for the function.



<form expr:action='data:blog.homepageUrl + "search"' id='searchform' method='get' name='searchform'>

<b:if cond='data:title'></b:if>

<div id='search'>

<input id='s' class='s' name='q' type='text' value='To search, type and hit enter' onfocus="if (this.value == 'To search, type and hit enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'To search, type and hit enter';}" />

<input type="hidden" id="searchsubmit" value="Search" />

<data:content/>

</div>

</form>


2. Changed to &quot;

<form expr:action='data:blog.homepageUrl + &quot;search&quot;' id='searchform' method='get' name='searchform'>

<b:if cond='data:title'></b:if>

<div id='search'>

<input id='s' class='s' name='q' type='text' value='To search, type and hit enter' onfocus="if (this.value == &quot;To search, type and hit enter&quot;) {this.value = &quot;&quot;;}" onblur="if (this.value == &quot;&quot;) {this.value = &quot;To search, type and hit enter&quot;;}" />

<input type="hidden" id="searchsubmit" value="Search" />

<data:content/>

</div>

</form>


3. Now you won't see the error anymore and enjoy your Ads Theme Template



Ads Theme Template without Error




If this post is useful,
please subscribe this at
please bookmark, digg, or share this page at



Related Posts by Categories



12 comments

  1. "The Sassy Divas" // July 10, 2008 12:13 AM  

    Thank you for the fix. I did not see the error but the search box would not clear and your code fixed the problem.

  2. Ssannara // July 10, 2008 12:23 AM  

    Thanks for your comment. I hope that we can keep add the nice features into this template.

  3. Hassan // July 11, 2008 12:11 PM  

    hey thanks alot for the fix i was desperately looking for it :)

  4. Ssannara // July 11, 2008 1:40 PM  

    Thanks Hassan :)

  5. রাশেদ // July 27, 2008 11:46 AM  

    Thanks mate.

  6. Ssannara // July 28, 2008 11:07 AM  

    Anytime :)

  7. Nitro81 // August 15, 2008 7:56 AM  

    Thank you for the fix. There is also a solution for Quickedit?

  8. Anonymous // September 4, 2008 6:31 AM  

    Ssannara: You are simply wonderful. Thanks for taking out the time to find a fix and then sharing it with us. Keep rocking!!

    SA

  9. Ssannara // September 4, 2008 9:21 AM  

    Thanks for your comment that it helps you out.. :)

  10. CodeHammer.MK // November 16, 2008 10:47 AM  

    Thanks a lot mate. Fixed two problems i was having: text wouldn't clear and IE displaying an error with page.

  11. adrianto // November 27, 2008 1:40 AM  

    Hi, It’s great…nice template.
    But I have some problems about this template. I can’t add somes gadget in this page element. How to add a gadget in this template..? And I can't edit to populer posts, recent posts, recent comments, recents posts. Remove adsense widget is not too. Please let me know about the tips and tutorial setting in this template.

    Thanks in advance…

  12. katrina // April 12, 2009 7:55 PM  

    great tips helped me a lot for my blogs:
    http://bestrecipesguide.blogspot.com
    and
    http://mymoremoney.blogspot.com

Post a Comment