Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6104657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:52:01+00:00 2026-05-23T13:52:01+00:00

I noticed that jquery’s beta template plugin is using, the type attribute text/x-jquery-tmpl e.g

  • 0

I noticed that jquery’s beta template plugin is using, the type attribute “text/x-jquery-tmpl”

e.g

<script type="text/x-jquery-tmpl">

I’ve not seen custom use of the type attribute in the past. Has anyone seen current examples of this in use or perhaps ways mere mortal developers such as I can use this in our own code?

I presume that it’s sort of a MIME type, however I would of thought that MIME type support was up to the browser. So I would of assumed that custom MIME types would be unsupported?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:52:01+00:00Added an answer on May 23, 2026 at 1:52 pm

    The type actually does indicate what sort of script is there. If the browser doesn’t understand it, it should ignore it. In this case, it’s a convenient and semantic sort of way to include the source of the template without displaying it on the screen.

    Usually with jquery template, you’ll give it an id and refer to it that way with your $(id).tmpl call.

    script def here:
    http://www.w3.org/TR/html401/interact/scripts.html#idx-scripting_language

    examples of tmpl here:
    http://api.jquery.com/tmpl/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the jquery.watermark.min.js plugin. I just recently noticed that it is submitting
I've noticed that when using $.post() in jquery that the default contentType is application/x-www-form-urlencoded
jsFiddle I'm using a jQuery plugin that allows the user to draw boxes in
Have you noticed that by using jquery's slideDown(), even on elements with dynamic content,
Has anyone not noticed that JQuery uses ActiveX controls? When a user has limited
While using jQuery's autocomplete, I've noticed that characters & and ' are escaped as
I noticed that when using the hide() function in JQuery, like this: $(myDiv).hide(slow); It
I'm using jQuery-UI-Tabs to organize data on my web page. However, I've noticed that
I noticed that when I show up a modal dialog using Jquery UI in
I have noticed that sometimes people have to use multiple versions of jQuery in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.