Hi,
I am trying to take this from view source, i.e.:
<a href="javascript:validateCB();"><img src="wwv_flow_file_mgr.get_file?p_security_group_id=1343380920146312332&p_flow_id=222&p_fname=submit_btn.gif" alt="Submit Details" border="0" />
into jQuery selector format
var $templateButtons = $('img[src^="wwv_flow_file_mgr"]').parent('...
Hi Everybody,
Is it possible to change iframe scrolling attribute with jquery ?
I need to change iframe css as well.
When the root document load completed i'm changing the src attribute of iframe and then i'm attaching to iframe load event with jquery this part work with successfully.
After that i'm trying to change some attributes ...
With $.post, you can send information to the server, but what when you need to receive information from the server?
How does information change from being of a way that can be held by a php variable to being of a way that can be held by a javascript variable and vice-versa?
...
Hi there
I have a page with a few links and a div, on the same page that I will load other content into.
Some of that content is google visualizations charts.
Just as a test, I popped in the google line chart code. The page loads well on its own, but when I try to load it into div (using jQuery), it doesnt work. Firefox says transferin...
This method is used to hide columns in a table based on a collection of metadata json objects. There is an object per column in the table. Currently on a table that has ~500 rows and ~15 columns with 6 being hidden this method takes ~2 seconds to execute.
I am attempting to optimize it to be faster. Any suggestions?
function hideHidden...
How to close jQuery thickbox from server side - I want to cause the thickbox (frame style) to be closed from a line in the server - when an action is done etc.
I use the thickbox to show a file upload dialog, and once the upload is complete, i wanna dismiss the thickbox from the server's code behind (just like it would do with the 'Clos...
I'm trying to create a javascript error logging infrastructure.
I'm trying to set window.onerror to be my error handler. It works in IE 6, but when I run it in Firefox, it runs into some conflicting onerror method.
var debug = true;
MySite.Namespace.ErrorLogger.prototype = {
//My error handling function.
//If it's not in de...
I am going crazy. I have tried dozens of examples and I have yet to get jquery to successfully return the results of a call to a pagemethod. I have copied each example, letter for letter, and pasted it into my web project to no avail. I am clearly missing something so obvious and stupid but what the heck is it?
I have tried examples on ...
I'm adding the star rating plugin from www.fyneworks.com/jquery/star-rating/ and I'm finding the documentation rather obscure. It may just be that I'm looking in the wrong places, which wouldn't be that unusual for me.
We are on an asp.net MVC application, and I would like to add the star rating object in 3 different pages. On the "...
Can somebody tell me why Jquery is erroring out at this point?
<script type="text/javascript" language="javascript">
var myLayout;
// a var is required because this page utilizes:
// myLayout.allowOverflow() method
$(document).ready(function() {
myLayout = $('body').layout({
// e...
I'm working on an ASP.NET MVC project using jQuery.
I'm referencing the jQuery VSDoc file (jquery-1.3.2-vsdoc.js) in order to get Intellisense for jQuery in Visual Studio:
<% /* %><script src="~/Scripts/jquery-1.3.2-vsdoc.js"></script><% */ %>
Then Resharpers live solution analysis (the red/green symbol in the lower right status bar)...
If I have an element with css style like code
td class="bogus" style="padding-left: 1em;"
, how can I use jquery to get padding-left value as 1em instead of pixels?
$(".bogus").css("padding-left");
This only returns the pixels, but I want it to return what's really in the code, in this case, relative value 1em instead. How ?
Thanks...
I am needing to detect when a user is inactive (not clicking or typing) on the current page for more than 30 minutes.
I thinking it might be best to use event blubbling attached to the body tag and then just keep resetting a timer for 30 minutes, but I'm not exactly sure how to create this.
I have jQuery available, although I'm not sur...
Any thoughts on making the slideViewr plugin from (2007-2009 Gian Carlo Mingati | design and development for interactive media) autoplay?
I tried upgrading to the slideViewerPro, but did not like the thumbnails and other stuff.
Thanks.
...
Say I have 4 div elements with class .navlink, which, when clicked, use .data() to set a key called 'selected', to a value of true:
$('.navlink')click(function() { $(this).data('selected', true); })
Every time a new navlink is clicked, I would like to store the previously selected navlink for later manipulation. Is there a quick and e...
I've created a self-contained example to find out why this is only working in Firefox:
var ul = jQuery('<ul></ul>');
jQuery(selector).children().each(function() {
var li = jQuery('<li></li>');
var label = '<label for="' + this.id + '">' + this.name + '</label>';
li.append(label);
li.append(this);
ul.append(li);
});
Any...
I want to set a dropdown box to what every has been passed through a querystring using jquery.
How do I add the selected attribute to a option that the "TEXT" value = param from the query string.
$(document).ready(function() {
var cat = $.jqURL.get('category');
if (cat != null) {
cat = $.URLDecode(cat);
...
this may be useful to see where I am coming from.
h[link text][1]ttp://stackoverflow.com/questions/1005006/jquery-nested-each-problem
Note: jQuery is used instead of the $ idiom because this is what wordpress requires.
I am adding divs with elements with this code:
jQuery("#list").append(jQuery("<div>").attr("id", "Entry").html(html));...
I am trying to prepend something to a li, hosted inside a #container #boxes #third li a but it isn't quite working.
I am using the following code:
$('#container #boxes #third li a').append(kevintext);
But whenever I do that, nothing happens. You can see the code in action at my testing page here.
Because that didn't work, I tried so...
I've been stuck on an interesting (IE: mind numbing) question for the past few hours.
I've been trying to parse operators with regex:
([<>]=?|[!=]=)
The ones that I want are: <= >= < > == !=
== and != matches great. But all the ones having to do with < or > doesn't on my Drupal site, even though they should theoretically work.
What...