How to Create a browser plugin, to check whether browser playing video
Hi, I want to report to my boss whether can able to create cross-browser plug-in, which is used for check whether browser playing video (or flash). With Regards Vadivelu ...
Hi, I want to report to my boss whether can able to create cross-browser plug-in, which is used for check whether browser playing video (or flash). With Regards Vadivelu ...
I have the following JavaScript: var value = '19-JUL-10 04.36.38.643000 PM-->19-JUL-10 05.06.33.962000 PM' How can I use jQuery to trim it to become '19-JUL-10 04.36.38 PM-->19-JUL-10 05.06.33 PM'? ...
I'm trying to use a variable value outside of the function it was defined in. Thought I. just needed to declare the variable outside the function but that doesn't cut it. Gotta be an easy one for those who know? Fiddle Here jQuery(document).ready(function() { var readOut; var readOut2; $(document).mousemove(function(e) { ...
In below markup, i want to find tag and want to add a common class class "AAA" then after want to add rel="bbbb" in all tags. My HTML Markup <div class="gallery galleryid-4" id="gallery-1"> <dl class="gallery-item"> <dt class="gallery-icon"> <a title="54-Valentine-Wallpapers" href=""><img widt...
I am using DataTable Plugin for html table sorting. It is working fine. Now I have a column with Dates(d/m/Y) in textboxes. Sorting on that column is not working. I want to make this sortable by date. First I applied the following code to make textbox sortable. Table with 3 fields: <script type='text/javascript' charset='utf-8'> ...
Is there a pager (jQuery plugin) with the following feaures: < 1 2 3 4 > when you click on an arrow the numbers slide to right or left when you click on a number you change page you have up to 4 numbers (the other pages should be hidden) thanks ...
I have a list <ul> <li> <li> <li> ... </ul> I need jQuery to count the number of items in my list. thanks ...
Hello all, Let's imagine that we have something like: $.post('somescript.php', 'WHAT CAN WE PUT HERE?', function(replyData) { 1) By default, the third argument of $.POST method, will read the XMLResponse response correct? So, why do we need that argument 'replyData' ? What are the reasons that we may have for having that argu...
I have a reference to a jquery object with the this variable. I am looking for a way of applying the child selector to the object. I'm using $(this).find('table > tbody > tr > td'), but what I'm aiming for is something more like $('[Value of $(this) goes here somehow] > table > tbody > tr > td'). I realise that I can do $(this).childre...
This code doesn't work: var number = $(this).find('.number').text(); var current = 600; if (current > number){ // do something } HTML: <div class="number">400</div> Seems there is some problem with converting text() from text-like value to number. What is the solution? ...
Hello, I'd to create some transitions between pages. I've made it this way: $("div.fading").css('display', 'none'); $("div.fading").fadeIn(500); $("a.fade").click(function(event){ event.preventDefault(); link = event.href; $("div.fading").fadeOut(500, redirect(link)); }); in redirect have...
I'm using the jQuery Validation plug-in is it possible to trow the errors in a specific div? like <label>userName:</label> <input type="text" name="user"/> <span id="userErr">you must enter username</span> is this possible? 10x ...
$.post('somescript.php', { data: $('#myInputField').val() }, function(replyData) { 1) Is the second argument of this $.post method - in json? OR 2) Is the second argument of this $.post method a query string? Thanks in advance, MEM Note: If this question doesn't make sense, please, knowing why (it doesn't make sense) may also h...
I'm trying to access elements using jquery $('#elementID') method. If any element contain "." character like id="element.0" id="element.1" i can't access that element. Is it because of the "." character in id string ? ...
What are event and UI parameters in jQuery Dialog? Can I get a mouse position using them? $( ".selector" ).dialog({ open: function(event, ui) { ... } }); ...
Hi there, When using JQuery, extending an object that has an overridden toString() function causes an "Operation is not supported" error in Firefox. However in Chrome it works fine. Is this a bug in JQuery or am I doing something wrong in the below code snippet? var foo = function () { var that = this; that.toStri...
I need to verify is the next element of each <a> tag <img> or not? so, i need to get the tagName of each <a> element's next tag. $("a").each(function() { how to verify it here? }); Thanks ...
I have multiple dl elements on a page. At the end of each one I have a dd tag acting as a dropdown which includes options for the element (like edit, delete, etc.) Here's the jQuery for the dropdown: $('dd.optiuni').mouseover(function() { $(this).find('ul').show(); }); $('dd.optiuni').mouseout(function() { $('dd.optiuni ul').h...
how to have a div that always stay on the screen? Lets say i have a div at the left hand site. When the browser is scroll to the bottom, the div will remain there ONLY when its' top reaches the top edge of browser screen so that it will not be hidden. I am using jquery too. Thank you. ...
Hi guys, so I have a pretty big flash file on my homepage, which raises a few issues about what to do if the user doesn't have flash player installed on his/her PC. I would like to make sure that if the user has a old version of flash player, or doesn't have it at all, a backup image will display in place of the flash, how can I accompl...