for example. if i want to quickly wrap anything by this in once.
<div class="one">
<div class="two">
anything can be here - content, other html tag etc.
</div>
</div>
hi everybody
i have a problem please help me
i have 4 select tag in my php page and when i post my parameters to my page all of select tags
clear and i want my selected item dont change - excuse me for my bad english
Dear expert,
I have facing a problem to select span tag using jquery. Please give a solution.
code:
<ul>
<li>
<a href="#Document1">Document 1
<span id="tab_close> x </span>
</a>
</li>
</ul>
I have a hyper link control and I set the NavigateURL and the ImageURL property at runtime. I also need to set the class of the image tag that it generates but I cannot figure out how I can do that. The solution mentioned here
http://stackoverflow.com/questions/1428879/apply-css-class-to-image-in-asphyperlink
does not work because the image url is hard coded.
any ideas?
Hi guys, i came across a scenario where giving a <script> element an "ID" would solve a problem easily. However, after reading about the script tag at w3schools and quirksmode, it seems doing so could have some unforeseen consequences. Has anyone come across any of these issues with modern browsers such as Chrome, Safari, FF3 up and IE 7 up?
Thanks
I am using the plugin:
http://github.com/karmi/is_taggable
How can I perform simple statistics on my tags, e.g. what's the most used tag? which tags are not used, etc.?
With SQL I would do something like:
select id, count(*) from taggings group by taggable_id;
But I am not seeing how to do this with the plugin.
Thanks!
I have a mkv file. It's video codec is avc and audio codec is ac3.
How can i put it into a html5 video tag?
I use the
<source src="01.mkv" type="video/x-matroska" codecs="a_ac3, avc">
but in safari 5 or chorome4 it doesn't works.
I am wanting to use the Facebox plugin for JQuery but am having a few issues getting it running how I want. The div that houses the facebox content is created outside of the tag so even though I am loading up some web controls none of them are firing back to the server.
Has anyone dealt with this that can give me some pointers?
The opposite may be achieved using pyparsing as follows:
from pyparsing import Suppress, replaceWith, makeHTMLTags, SkipTo
#...
removeText = replaceWith("")
scriptOpen, scriptClose = makeHTMLTags("script")
scriptBody = scriptOpen + SkipTo(scriptClose) + scriptClose
scriptBody.setParseAction(removeText)
data = (scriptBody).transformString(data)
How could I keep the contents of the tag "table"?
Hi,
I'm using ASP.NET MVC and have a model which has an image (byte array) in one of the fields. I'm trying to output this image into the src attribute of the img tag. I'm looking to do something like '. How can I do this?
I read some time ago about the possibility to use media stream from a USB or rs232 device with the tag such as a webcam with HTML5?.
Is there a web browser that supports this right now?. (nighty builds of chrome, webkit...)
Thanks.
I have a custom tag in django, but i need use this functionality in a non-view, non-template stage without template engine, there is a way without repeat code?
i have 3 div tags.Each having no. of textboxs and button.Each textbox having validation.For all button causesvalidation property is true.If i click "button1" in "div1" tag will cause validation of other textbox in other div tags.I dont want to do this ? How to avoid this?
Hi,
is it possible to read the value of an IdentityTag if you place it on the TagVisualizer, without having initalized it before?
I would like to use the tags for registering a new object on the Surface but having all the "free" IdentityTags in a Collection for initalizing them all... There must be a better way to do in I think.
But the TagVisualizer doesn't seem to do anything when you put a tag on it that it doesn't know.
I have a question.Here is the code!
f.select(:departments,Department.all.collect{|c|[c.name,c.id]},{},:size=>10,:multiple => ture)
class Emergency
has many :departments
end
the html source like this:
<select id="emergency_departments" multiple="multiple" name="emergency[departments][]" size="10"><option value ="">""</option>....</select>
now I want to get the default selected tag , who can tell me how ?
I have problem with validation such code
function show_help_tip(event, element) {
var $e = $(element);
var pos = $e.offset();
$('.body-balloon',$help_tip_div).html($(' <p> </p> ').html(element.getAttribute('title')));
$help_tip_div.css({position:'absolute',top:530,left:pos.left+$e.width()-20}).show();
}
end tag for element "P" which is not open
What's wrong?
I've an img element with dynamically changing image. I always want to show this image in its full dimension.
So, I think, I've to dynamically change width and height attributes in img tag.
How can I do this in php or javascript?
I am seeing some attribute I have never seen before in a div tag. I haven't touch html for a while but googling the attribute didn't return much useful info.
<div dataquery="#item_1306" comp="box.components.Flashplayer" id="box_Flashplayer_2" propertyquery="#box_Flashplaye_2" class="box_Flashplaye_style2"...
My question is, do you know what are these "dataquery" "comp" and "propertyquery" attributes?
Thanks alot folks.
I have this simple Post model:
class Post(models.Model):
title = models.CharField(_('title'), max_length=60, blank=True, null=True)
body = models.TextField(_('body'))
blog = models.ForeignKey(Blog, related_name="posts")
user = models.ForeignKey(User)
I want that when I insert in the form the links, the these links are saved in the body from this form:
http://www.example.com or www.example.com
to this form ( with tag and rel="nofollow" parameter ):
<a href="http://www.example.com" rel="nofollow">www.example.com</a>
How can I do this ?
Thanks ^_^
Currently image_tag("file.jpg") produces normal image html tag, BUT src="file.jpg*?7485793246*" what the hell are those numbers anyway and how to disable them?
While developing a joomla plugin, if my plugin folder looks like so:
/install.xml
/mainPg.php
/subfolder/lib.php
/subfolder/config.php
Would the tag look like this?
<files>
<filename plugin="mainPg">mainPg.php</filename>
<folder>subfolder</folder>
</files>