Hi, i have an asp.net mvc 2 application, and have some jquery that defines behaviour of two dropdownlists. When one changes, the other is populated with filtered data. After much furor, i have the jquery working, confirmed by firebug debugging, but my dropdownlist is not refreshing. This is the jquery
<script type="text/javascript">
...
Hi,
I am getting selected date as in Thu Oct 14 2010 00:00:00 GMT 0530 (India Standard Time) format. I want to convert this in dd/MM/yyyy format. What have to do in jQuery?
...
I couldn't find something similar in SO.
In ASP.NET, is there any way that on cue I can cause a partial postback with Javascript in an UpdatePanel?
I tried __doPostBack() but it does a full postback.
I can trick it with a dummy button and fire click() then handle the partial postback that way, but I want a more graceful way than trick...
when i send json. it may be have something wrong. server does not accept request and give error 500 even i seding a json he return a error page in json. how i can check that i have 500 error in json when as result after my json is gone to server.
how i can check that server return 500 error i am talking about .NET
...
I have two text fields on top of one another. The one on top the user types into. The one behind it auto-completes out words with a light gray font. It works great, until you're up against the edge of the text field on top. How can I scroll the bottom text field along with the top to keep their text perfectly overlaid?
Thanks in ad...
sir,
i hav a list.from these list i want to select multiple values to another list and get these values using php.here is my code.
<script type="text/javascript">
function addOption_list()
{
for(i=document.drop_list.Category.options.length-1;i>=0;i--)
{
var Category=document.drop_list.Category;
//document.write(Category);
if(do...
I initiate two buttons (I'm using the JQuery built in CSS themeroller):
$( ".upArrow" ).button({ icons: {secondary:'ui-icon-circle-arrow-n'} });
$( ".downArrow" ).button({ icons: {secondary:'ui-icon-circle-arrow-s'} });
I want to be able to toggle between these two icons when clicking the same button, and somehow switch between the .u...
I have a PHP page with multiple forms, some of which submit to an iframe (separate iframe for each form) to allow for ajax-like file uploads. I don't want the user to have to click a "Submit" button after selecting each file, so I am submitting the form using jQuery's .submit() function inside of a .change() event on the file input elem...
Hi everyone i am new to titanium(iphone) i am working on developing PieChart i want to use HTML in my code how can i use.. currently i have coded like this but its displaying blank page can anyone give me an idea of how to do this thanks in advance.
here is the code
var divTag = document.createElement('div');
divTag.id = "graph";
divTa...
Dear all,
as MooTools 1.3 is out now, i´m going to update some scripts. BindWithEvent is now deprecated and has to be replaced, but how?
See this:
new Element('div', [.....]).addEvent('click',this.close.bindWithEvent(this,true));
I´m quite sure it has to be some sort of a function
new Element('div', [.....]).addEvent('click',functio...
Hi all,
I am developing a web application using MVC .net framework. In the user interface of this application i want to create a tab when a button is clicked. following is the method i am creating this tab when a button is clicked in the user interface
$('#tabs').tabs("add", 'uploadnewcv', 'Add New CV');
while i creating this tab i ...
Hello all, I am trying to get a different div to display based on the value in a textfield. So, right now, I have this:
<textarea id="characters">100</textarea>
<div id="upto100">
This is content up to 100 characters
</div>
<div id="upto200">
This is content up to 200 characters
</div>
<div id="upto300">
This is content up to 300 ch...
I am able to save the events of particular date wise in database by using fullcalender jQuery. But how to populate the saved events in database on fullcalender jQuery control, of the corresponding date?
...
In a popup window, I create a string dynamically which represents a function existing in the window.opener
e.g. funcstring = 'getProductListings("user_id",true)';
This is one of several possible functions that could be created dynamically, so I can't just hardcode it into the window.opener function call.
Then I want to call this in th...
I have one ASP.NET application which includes one gridview. This gridview contains 4 template columns of checkboxes and 2 template columns of link buttons. If I click on the first checkbox, then both of the link buttons should be enabled, otherwise they should be in disabled mode. This functionality is working fine. But my problem is, at...
Single Page Javascript Application
I have built a sophisticated ajax-driven single page webapp that uses a RESTful backend web service serving JSON. The javascript is split into many different files, each file representing some sort of feature or component.
While the service has been in alpha testing, I've just be serving all these fil...
When you move your mouse over a link with title, after a while it will show the title as a tip. Is it possible to remove this delay or change it so I shows the tip faster?
...
Let's say I have a web page with a header menu, when I click the header menu, it calls a servlet that creates the sidebar. Is it possible that without using the document.getElementById? And just simulate keystrokes "tab" and "enter" via javascript so I don't have to click the menu to view the sidebar?
...
Hi all,
I'm using jQTouch to build a simple mobile app with an html/js/jquery form that which acts as a product selector. It has 5 dropdown menus, and 6 possible scenarios:
Scenarios: There are 6 products - whichever gets the most points is chosen. The user is then taken to the div (which acts as a page in jQTouch) with the content f...
My javascript is
function changeImage(imgID) {
var baseurl = "media/images/";
if (document.getElementById(imgID).src == baseurl+"selection-off.png") {
alert('Success');
document.getElementById(imgID).src = baseurl+"selection-no.png"; }
else {
alert('Fail'); } }
and my HTML is
<div id="mustard" class="checkbox"><img id="mu...