jquery

I want to loop every text in a div .each(function() - jquery

Hello, I have these URLs from a text file "http://xxxxxxxxxxxxxx.xom.sssss/data/feed/base/user/592591?kind\u003doium\u00flt\u065drss\u002s\u0asn_7S\udess\aawac", "url": "http://xxxxxxxxxxxxxx.xom.sssss/data/feed/base/user/592591?kind\u003doium\u00flt\u065drss\u002s\u0asn_7S\udess\aawac", "url": }, "http://xxxxxxxxxxxxxx.xom.sssss/...

Facebox window closes after submit

Hi all I have a question regarding Facebox. When I click a certain link on my page, the Facebox modal window opens just fine. But inside this modal window I'd like to have a form that users can submit. When the users click the submit-button, the whole page refreshes, and my Facebox-window is closed. This makes sense to me, but I'd like ...

Add title to jQuery Cycle slideshow from Alt attribute?

I am building a slideshow and need to have a title appear for each picture that get cycled. I created alt attributes for them and am trying to have cycle display them for each image, but It only shows the first one. I am unsure how to get the code I have into the cycle "loop" for the gallery? Does this make sense? here is what I have, (w...

Adjust fontsize in fixed-height/width table cells in javascript/jquery

Hi folks, I want to make a a printable schedule as table with fixed height/width cells. Cells contains names and i don't want that the names do line breaks. Is there a way to dynamically adjust the font-size so that there will be no linebreaks or hiding text? Maybe someone knows a good plugin or snippet for that issue? ...

accessing the next tr from an input in the row above using jquery

Dear jquery experts, Is there any way to access a tr from an input of a tr above without adding row specific id's or classes? <table> <tr><td>just another row</td> <tr><td><input name="inputToSerachFrom" type="text" /></td><tr> <tr><td>I want to acces this row without adding id's or classes</td><tr> <tr><td>just another row</td> </tabl...

jquery select elements between two elements that are not siblings

eg. [I've removed attributes, but it's a bit of auto-generated html] <img class="p"/> <div> hello world <p> <font><font size="2">text.<img class="p"/> some text</font></font> </p> <img class="p"/> <p> <font><font size="2">more text<img class="p"/> another piece of text </font><...

jquery - deciding whether a user is "away"

hi, im doing a little test to check whether the user is "away" (unactive) or not; function away_status(){ $("#away_stat_update").everyTime(1000, function(i) { var number = Number($(this).html()); if( number == 20 ) { // set user as away alert( "user away" ); } if( number > 20...

asp.net mvc & jquery dialog: What approach do I take to add items to a dropdownlist/select list without full postaback?

Hi, I am new to MVC and have a grasp of the basic model, but still doing everything with postbacks etc. One aspect of the UI I want to build is to have a drop-down-list of items with a button to add an item to the database and refresh the list. Achieving this with WebForms was straight forward as everything was wrapped in UpdatePanels,...

JQuery and form attributes change in IE

Hi, I want to change form attributes with JQuery. In other browsers it works fine, but not in IE(6,7,8). Code: action = '/controller/action/id/'; target = 'upload_iframe'; enctype = 'multipart/form-data'; $('#form1').attr("action",action); $('#form1').attr("target",target); $('#form1').attr("enctype",enctype); So what's the pr...

Injecting a response value into a textarea to subsequently post

I have multiple notes with class=.note and unique id each inside a div. On click of edit I grab the id, show hidden form #noteditor and hide all notes. I am using the load function to get the response (using codeigniter so url does work) and input result in the editorfrorm Textarea id = upnote... Firebug response looks ok and I hav...

jQuery.post raises INVALID_STATE_ERR (11)

jQuery(document).ready(function(){ jQuery('#frmSS1').submit(function(){ debugger; jQuery.post( jQuery('#frmSS1').attr('action'), { email : jQuery('#frmSS1 .email-input').val(), format : jQuery('#frmSS1 .format-input').val(), ...

How to make nested vertical menu with jQuery accordion?

Hello. Can anyone point me to a good example on how to implement nested vertical menu using jQuery accordion? Something like here (at the left of the page, starting from third item), but nested. There is no example of nested structure in Accordion docs on some reason. Or may be there is a good jQuery component on organizing vertical ne...

Validating groups of checkboxes using jquery

If I have groups of checkboxes like so: <input type="checkbox" name"checkboxes1" value="#value1"> <input type="checkbox" name"checkboxes1" value="value2"> <input type="checkbox" name"checkboxes1" value="#value3"> <input type="checkbox" name"checkboxes2" value="value1"> <input type="checkbox" name"checkboxes2" value="#value2"> <input ty...

What is the best way to wrap label text with jquery?

I need to set a maximum widht to a label tag and avoid the text overflow with jquery. Is there an elegant way to do it? ...

Jquery UI buttonset icons

Hi I'm having trouble adding icons to jQuery UI's buttonset's.Adding icons to buttons work fine.Does anyone have a example of this working Thanks Markup <div id="radio" class='demo'> <input type="radio" id="radio1" name="radio" /><label for="radio1">Top 10 FAQ's</label> <input type="radio" id="radio2" name="radio" /><label fo...

Create Featured Content Slider JQuery - amending the time of banners

Hi I am using the following code for my banner. I have got 6 set up. what I want to do is specify the time each one appears for. I can change this for all of them but I want to set them indivdually? http://webdeveloperplus.com/jquery/f...ry-ui/#respond The bit of code that chnages the speed is. How can I indvidual set each of the 6 ba...

jQuery UI Dialog Form and ASP.NET MVC

I'm not entirely sure if this is the best way to word it, however, I'm having a little trouble working out how to achieve. What I have is a page with a form on for editing a user's details. The page itself sits on /User/Edit/1234 where 1234 is the employee number. On that page there is a reset password link which opens the following jQ...

Asp.Net(C#) Jquery Ajax with WebMethod Call Problem...

Hi all; Code Behind: [WebMethod] public static string emp() { return "BlaBla"; } Aspx Page: $(document).ready(function() { $.get("TestPage.aspx/emp", null, function(data) { alert(data); }) }) Message Box Output: TestPage.aspx on the page codes <!DOCTYPE...

selecting next n elements having class foo

How to select next n hidden elements that have class "foo" using jQuery? ...

JQuery Window blinking

Hi All I am developing a chat application(Customer and operator). Using jquery Ajax and PHP . From customer side he can handle multiple chat.. For example ha have two chat.. How he knows in which window the new msg comes.. I can take the count . But is there any option in jquery to blink the window when count change ? ...