jquery

How ASP.NET MVC knows which property of JavaScript control to use when binding?

I know it's possible to change view representation of any .NET type by changing strongly-typed partial view. The most popular example is when simple ToString() call on DateTime instance is changed to a great-looking JQuery UI calendar. My question is - how does ASP.NET MVC know what property of JavaScript control to use when binding to a...

JQuery plugins : Use jquery-upload-progress and jquery validation together

Hi ! I would like to use these two JQuery plugins on the same form : JQuery validation plugin : http://bassistance.de/jquery-plugins/jquery-plugin-validation/ JQuery-upload-progress : http://github.com/drogus/jquery-upload-progress The behavior that I would like to have: Validate the form with the validation plugin If no error sta...

What is the best way to make autocomplete field using jquery (With mySql or XML ?)

My autocomplete field: http://www.faressoft.org/autocomplete/ What is the best way to make autocomplete field using jquery (With mySql or XML ?) and what is the reason ? How to minimize consumption of server resources ? What is the best way if i have a big database or a small batadase ? mySql or XML ...

how to use filament's daterangepicker with new jquery ?

I downloaded the daterangepicker available here : filament group I am using jQuery 1.4.x version in my page, and all other plugins I am using are supported only on latest version of jQuery. The daterangepicker tool fails because it is using date.js (which uses a very old jQuery). If I use datepicker, all other plugins and functionali...

Why is this jQuery ajax call to C# web method not working

Here is my JS: function declassifyAjax(e) { var items = getSelected(); var docIds = new Array(); items.each(get); //get ids of QcItem/docId we are dealing with function get(count, el) { docIds[count] = $(el).parent().attr('id'); } var dataObj = new Object(); dataObj.batchId = batchId; dataO...

Vertical accordion menu

I'm working on one site and I need vertical accordion menu the same like on http://www.thearchitecturestudio.net/. Does anybody have some advice how to do that in JQuery or code that he/she wrote ? ...

How to disable the sorting click on table header when server side data is still processing?

Hi All, I'm doing the server side sorting in datatable plugin .Data takes 4-5 seconds to load, in the mean time if the user clicks on other headers it will again trigger the ajax call. Please help me on how to restrict the user when the servers side data is still in processing state. Is there any initial function where i can check custom...

Why doesn't IE let me create <img> elements using jQuery?

I have this code: $('<img>').attr('src',pages[i]['src']).appendTo('#cache'); which should create an <img> element from an array entry and append it to the element with an ID of cache. However, IE reports the error: 'attr(...)' is null or not an object FF, Chrome and Safari have no issues. Thanks. ...

Locate a control and hide elements

I have a bunch of Div's on the page <div id="MainDiv"><div>sometext</div> <div>sometext</div> <div>Page 1</div> <div>Page 1</div> <div>Page 1</div> <div id="Placeholder1"></div> <div>othertext</div> <div>othertext</div> <div>Page 2</div> <div>Page 2</div><div> How do I hide all child Div's of 'MainDiv' that fall after the div 'Placeho...

Pure JQuery based range slider which doesn't use jQuery UI

Does anyone know a good, independent jQuery range slider plugin that doesn't rely on jQuery UI? ...

5 jquery scrollShow in one page

how i can add 5 jquery scrollShow in one page i tested this and not worked $(document).ready(function() { $('.screen').each(function(index) { $(this).scrollShow({ view:'#view', content:'#images', easing:'backout', wrappers:'link,crop', navigato...

Jquery: How to enlarge image on mouseover for dynamically added thumbnail image

Hi all, I am dynamically adding images to my web page from a database. How to enlarge image on mouseover for dynamically added images from the database.I tried different Jquery plugins but most of them had compatibility issues with some browsers(IE 6). Kindly suggest me a way out. Thanks. ...

Hover effect using JQuery

Hey friends i need to know how we can do the following? like i am having the following links client 1 client 2 client 3 client 4 client 5 while i place my mouse pointer over client 1 under the client 1,the following should be show as edit/Replace/Delete.same as client2,client 3,client 4.and client 5 how can we do this? Update: While ...

jquery post return undefined

Hi The function is: <script type="text/javascript"> jQuery(function () { jQuery("#JqPostForm").submit(function () { jQuery.post("index2.php?option=compon&task=sendemail", jQuery("#JqPostForm").serialize(), function (data) { alert(data.email_invalid); if (data.email_invalid == 'true') { ...

jquery - day month year validation

I'm having separate select boxes for day, month, year validation. 12 ... JanFeb ... 20092010 ... If I use jquery validation plug-in, it displays separate error messages for each fields if it not selected. But I want to treat all the three as a single field, and display error message. if day is selected and month and year are not s...

Bundle jQuery with widget

Let's say I want to provide a widget like Youtube does to embed their player in an external page. For this widget, I rely on a certain version of jQuery. How can I bundle jQuery with my widget so that it is available to my widget JS code, but that it doesn't interfer with other jQuery versions included in the external page? Do you have ...

Use jQuery to update database through Joomla MVC component

Hi I am developing a new version of my Joomla component TTVideo. I'm trying setup a rating system using the jQuery stars plugin. I have the jQuery noconflict issue resolved, however I'm a bit confused as to how to send the vote securely to a helper class that updates the database with the value of the vote. Usually this is done throug...

Random stylesheet caching in Google Chrome

Hey, So as in the title, my stylesheets keep on caching for no apparent reason. It is only today I have started testing my VB.Net website in IE8 and using jQuery on the customer front end, and it is only the past 30 - 45 minutes that I have noticed this happening. There was one background-color which I changed a few minutes ago with no...

How do I prevent a line of JavaScript from running in IE (but let it run in other browsers)?

I am looking for something similar to CSS's <!--[if IE]> decaration for JavaScript. I don't have time to find out why a line of code is not working in IE, and commenting it out doesn't break the page, so I am thinking "stuff IE" and looking for a way to comment the line out only for IE. Any ideas? ...

Searching, sorting and paginating large datasets on the client

Hi, I have been using the DataTables plugin for jQuery (http://www.datatables.net) to search, sort and paginate tabular data on the client. The simplicity of implementation and smooth user experience have been a huge win. Now I have a requirement to implement the same functionality (search, sort, paginate) over a larger set of data, ma...