I am using jQuery selector to get the values of all CMS components on the page using $('div.cmscomponent') but how can I test this to see if am actually getting the list of compoents on the page.
I use:
var temp = $('div.cmscomponent');
alert(temp);
and result that I get is [object OBJECT] and so how can I test this ? and how can I ...
Hello!
Please take a look here: http://www.binarymark.com/Products/FLVDownloader/order.aspx
What I am trying to do is to get rid of the prices inside the option tag. On that page you can see a drop-down box under Order Information, Product. I want to remove the prices from all the options that contain them in that box, so get rid of " ...
hello,
I am doing soemthign like this to add dropdownlist for each row dynamically..
var Click = function() {
$("#Grid").click(
$("#showgrid").load('/Products/List/Item/'));
$.each($('#Grid td:nth-child(4n)'), function() {
var forthColumn = $(this);
forthColumn.append("<select><option value='1'>Di...
Hello,
I am new to JQuery. I have a select html element. I am trying to understand how to iterate through the options in the select element. I know how to do it with traditional javascript as shown here:
for (i=0; i<mySelect.options.length; i++)
alert(mySelect.options[i].value);
However, I'm trying to learn about JQuery more. Can s...
Hi,
I'm trying to have a comment input field that will show the submit button on a dynamically created form when you click on the input field.
Similar to how facebook comments work. When you click on the input field the submit button appears and when you click off it disappears.
All the comment input id's are comment_1 etc and the subm...
In using a jquery callback, I found that 'this' isn't defined anymore. I've found a work around, which is to set 'this' to another variable. For example, like so:
function handler(DATA) {
var myThis = this;
$.post(
'file.php',
DATA,
function() {
// THIS where I need access to ...
Hi,
I've seen jquery used to change a form select drop down box in to a 'pretty' drop down list widget. I can't remember where I saw this but does anyone have any links or example code which show examples of how to use jquery to style form elements? I'd prefer it if it was code rather than a built in plug in.
Thanks
...
I need a little if help to solve this question.
I need to get and XML from another server. My server can't make a request because of firewall.
With javascript(jquery), What's the solution to make and ajax call cross-domain?
I can make the request on client side but, How to get and xml node?
Usign a proxy script does not work for me...
A...
Can anyone tell me why a .jpg would not fade in or fade out in IE8. Right now it is just disapearing and reappearing with no opacity changes. I have this set up locally and on a publishing server, strange thing is the images fade in and out just fine locally, it's only when I go to the publishing server that they cease to fade.
Just w...
I have a jquery function that is called on $(document).ready that modifies the css of a Business Intelligence dashboard. I had to use jquery to make the adjustments because I do not have access to the source code of the BI tool. What happens is when the page loads, I run through the tab navigation and change the colors of the tabs based ...
Hi, I have like this.
$(document).ready(function() {
var $clickable_pieces = $('.chess_piece').parent();
$($clickable_pieces).addClass('selectee'); // add selectee class
var $selectee = $('.chess_square.selectee');
// wait for click
$($selectee).bind('click',function(){
$('.chess_square.selected').removeClass('selected');
$(...
hi,
I have a javascript function..
<script type="text/javascript">
var RowClick = function() {
$("#mytable").click(
$("#showgrid").load('/Products/List/Items/'));
};
</script>
Can I call this function on onclick event on tr?
I am calling something like this?
<tr class="something" onclick="javascript:RowClick()...
I have a table in which some adjacent cells have the same class (someClass). I would like to display a tooltip when the mouse hovers one of these cells. Here is how I implemented this:
/* HTML code */
<div id="tooltip"><div>
/* CSS code */
#tooltip {
display: none;
position: absolute;
border: 1px solid #333;
backgroun...
I was wondering if there is a jQuery plugin to recreate the "boxee.tv video effect?
...
Hi everyone,
Each div with the class "row" is added upon request from the user, to be able to add multiple items at once. So now is the question how I'll collect all the forms in to an array that PHP can read (like JSON for instance). I'll guess that there's already some easy and effective way of doing this?
<div class="container">
...
I'm coding a function in jquery that executes if ctrl+R is pressed but I can't seem to find out what the left and right ctrl keycodes are....can someone please help?
UPDATE
///this works
$(document).keydown(function(e){
if(e.keyCode==17){alert("control was pressed")};
});
Next Question--
How do I link control key press...
I have to make menu like this.
Items of drop-down can be increased
and decreased If client will add or remove pages.
width of drop-down's will depend on how many character in page title
name.
angle only needed at last item's right bottom corner.
I Know how to make drop-down menu and how to give cross browser transparency , but I wan...
Hi, I've got a script that disables a button input control, empties a table body and then (after an AJAX call) re-populates it. It all works fine but sometimes there are a lot of rows in the table so the browser (IE) takes a while to empty and refill it. The strange thing is, while the rows are being emptied, the button still appears t...
I'm working with the jQuery Sortable plugin to drag and drop images from one box to another box. This works fine in ff,chrome and safari but it fails in IE8. It seems that when you start dragging that the image is send to the back. I've tried to solve this by adding the z-index option to the sortable plugin, i've tried appending it to a ...
I'm in need to toggle divs from a dropdown select option box. I'd like it similar to asmselect for jquery but instead of listing the option tag I'd like it to display a hidden div. Is there anything like this out there? Or anyone know how to set it up? Thanks, Jeff.
UPDATED
Basically what I want is the look and interaction of the asmse...