jquery

datepicker, jquery

Hello! I have a datepicker (jquery) $("#datepicker").datepicker({ }); I want to colorize(highlight) some days in this datepicker. And these days i'd like to get from some array !!!! I dont know, something like this: $("#datepicker").datepicker({ highlight:['09/16/2009', 09/12/2009, 08/16/2009 ....] }); Help me p...

Disable grey border on anchor (<a>) elements on focus...

I am trying to make the ugly grey border that appears around anchor tags go away. The CSS property "outline:none;" works for Firefox, but how can I do it in IE. Preferably using CSS expressions or jquery. I'm not worried about accessibility BTW. Based on your suggestions I found these to be the best solutions... The jquery(for IE brows...

Counting the inputs in a <p> using JQuery

I have a <p style="display: block;" class="title fieldChoices">Choices: <input value="option1" maxlength="150" id="Choice1"/> <input value="option2" maxlength="150" id="Choice2"/> </p> I am trying to count how many input boxes there are in this fieldChoices using JQUery. Please suggest a way how to do...

restaring slide show

can anyone know stop and restating slideshow created using jquery. the following code makes problem while random selection. $('#left_actual').cycle('stop'); //slide show 1 $('#right_col').cycle('stop'); //slide show 2 $('#left_actual').cycle({ fx: 'all', timeout: 6010, startingSlide:sli...

jQuery selector problem

Hi! I have this selector: $("table.details tbody tr:not(.details)") But I'm wondering why this inner table gets selected too: <table class="items details"> <thead> <tr> <th style="width: 90%;">Test application</th> <th style="width: 10%;">Sent to test</th> </tr> </thead> <tbody> ...

jquery treeview highlighting selected item

Hello, I am using a jQuery treeview, to display an organization tree hierarchy, I display the selected organization's details on the same form by using AJAX. So the question is, how do I make the current (selected) item highlighted, does treeview support that (I tried selected, persistence etx, no luck, but I am new to jquery anyways.),...

Javascript RTE with spellcheck

Can anyone point me in the direction of a good rich text editor (cost not an issue) that has an inbuilt spell check or can be configured to point to an internal spelling service. I cannot use widgets that harness external jsonp services (google api etc) due to the application residing on a restricted network. ...

jquery validate bind blur event

Hi, I'm using Jquery validate plugin.I need to validate two fields. I have some problems with the following code.I'm checking whether the given element valid and if it is valid I make an ajax call to check for few values and hide or show elements based on that. The problem is when the blur event happens, the validation is done. But th...

SyntaxHighlighter.all() doesn't work on DOM level?

I'm loading content dynamically into a div using the jQuery load() function. In the callback I'm calling SyntaxHighlighter.all(), to pretty print the syntax of the pre block that just got loaded into the div. The problem is that the content is loaded OK, but the syntax doesn't get highlighted. However, when I hardcode the pre block in t...

Popup Dialog Hide after 10sec

Hi, I am working on some website , i have used jQuery UI , for pop-up dialog . I want to close that after 10sec, I have used fadOut 10000 ms but its slowly fades. Here is the link View the source code and please help me in this. ...

jQuery :has(.something:contains()) unsupported?

Given the HTML below, I am trying to use jQuery to match all the list items that have a span with the class "foo" and that span should contain the text "relevant". <ul> <li>Some text <span class="foo">relevant</span></li> <li>Some more text <span class="foo">not</span> <span class="bar">relevant</span></li> <li>Even more <span ...

Looking for: jQuery-Plugin for tab support in a textarea

I'm looking for a plugin or lightweight js-editor, which supports tabs in a textarea. Anybody? Kind regards, Joerg ...

jquery retrieve css style set directly on element

How can I use jQuery to determine whether an element has a certain style set inline. E.g, given the document <style> .MyClass { position: relative } </style> ... <div class="MyClass" id="div1" style="position: absolute"/> <div class="MyClass" id="div2"/> ... <script> function f() { assert($('#div1').SOMETHING('position') == 'absolu...

How to make two <p> tags show in the same row.

I want to generate an add and delete in the same row near to each other. (Not in a table) $("<p class='addChoice cutsom_button'><a href='#' class='btn lbOn addchoice'><span class='button_image'><span class='background_16 user_reply'>Add</span></span></a></p>").appendTo(".fieldChoices"); $("<p class='deleteChoice cutsom_button'><a href=...

jQuery sortable attributes of element dropped to

Hello I'm currently developing drag & drop menu management for my CMS, but I ran into a (hopfully) small problem. My HTML code look like this (copied from Smarty): <ul class="menu_items" name="parents" style="background-color:red"> {foreach from=$pages item=item} <li id="parent_{$item.id};" name="parent" title="{$item.id}">{$item...

jQuery Form Validate() : How to setup default messages?

Until now, I've used jQuery validation plugin with previously defined fields. Now I'm working with a dynamic form. Fields have their validation needs mapped by its classes (e.g. " required "), but I don't see how to customize the messages jQuery validate throws. ...

ASP.NET AJAX and JQuery issue

I have an ASP.NET page using the AJAX control toolkit for some controls. A recent update is looking for some more dynamic "flair", and it was recommended I look into jQuery to add some of the functionality. My issue lies here: When I add the jQuery reference (see below), I get a javascript error when the page loads: "this._form is null ...

jquery reduce the adoption of Silverlight?

Currently looking into learn new technology and silverlight is on the potential list. However, I was wondering, will the popularity of jquery and it's awesomeness reduce the adoption of silverlight and therefore the need and reward from learning it? Cheers ...

jquery for mobile applications

has any used jquery for mobile application development? ...

Use naming convention to apply class if label contains text

Hi! I'm new to jquery, and sorry if this question is asked before (could find exactly what I was looking for) I would like to implement the following convetion: If I create a error label with the name '_lblError' like this: <div> <asp:label ID="_lblError" text="this is a error msg"/> </div> classA or classB would be applied to it ...