Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
26,455 | 26,456 | after inserting some script the dollar sign returns null | <p>javascript newbie here, I wrote a form in html and submitted it with an onchange event, but after I added a daterange picker in javascript the submission doesn't work. Here is my code:</p>
<pre><code> <form id="dash_form" method="get">
<div>Select a Tag Bundle dimension:</div>
&... | javascript jquery | [3, 5] |
2,262,751 | 2,262,752 | Checkbox for images in an ASP.NET repeater control | <p>I am working with ASP.NET. I am using a repeater to display images, and I also am using a check box for each image. </p>
<p>How can I select individual images and update their values as per image id? </p>
<p>My code is:</p>
<pre><code> <asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
... | c# asp.net | [0, 9] |
3,649,343 | 3,649,344 | Retrieving the XML feeds which corresponds to the search results that the user enters in Android Application | <p>I m supposed to implement Entertainment Guide using Android wherein the user is allowed to select a TV channel whose tv schedule should be displayed.
here, we need to retrieve the corresponding XML feed based on the user's TV channel Selection. and this XML sheet needs to be parsed, so that the corresponding details... | java android | [1, 4] |
4,001,544 | 4,001,545 | Echo Javascript Variable in Php to another page | <p>I have code which passes php variable to another page on my site:</p>
<pre><code>echo'<a class="btn btn-danger" style="margin-left:10px;width:120px;float:left;" href="fullsizemarket.php?imageid=',$imageid,'&action=removed">Remove from Cart</a>';
</code></pre>
<p>I am able to retrieve the php varia... | php javascript | [2, 3] |
3,629,719 | 3,629,720 | Dynamically creating controls inside a repeater | <p>I have 2 Drop down controls inside a repeater and i have to repeat those with a button click how can i achieve it??</p>
<pre><code>if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
TextBox t = new TextBox();
t.ID = e.Item.ItemIndex.ToString();
e.Item.Cont... | c# asp.net | [0, 9] |
1,765,369 | 1,765,370 | iPhones jQuery show/hide conflict with auto scrolling slideshows | <p>There seems to be an issue with iPods and iPhones (4,4S, and probably 5). We have an autoscrolling slideshow utilizing Flex Slider. I have a toggle trigger to show and hide our menu (div). When the menu is toggled open and the slideshow auto scrolls to the next image the menu closes. On my Android phone (Android ... | jquery iphone | [5, 8] |
2,267,491 | 2,267,492 | How to return response from webservice | <p>I have made a web service and clients will call its methods. Suppose one method takes four parameters and I want to check that if any one of these is empty I want to send a response back to the client and I want to send it like an alert so client knows what argument is empty. I can not force client to give all param... | c# asp.net | [0, 9] |
2,202,123 | 2,202,124 | How to read a variable from another class? | <p>Im wondering how can I read a variable from one class's to another?</p>
<p>I have two class's, triangle.java and screen.java</p>
<p>in triangle.java I have: public double bound=0;</p>
<p>how to I read that variable in Screen.java? </p>
<p>triangle.java:</p>
<pre><code>public class triangle extends Activity
{
p... | java android | [1, 4] |
1,860,213 | 1,860,214 | adding php to javascript | <p>How can I add php variable to javascript e.g:</p>
<pre><code>onClick="javascript:alert('echo $name;')Click Me</a>***
</code></pre>
<p>but it is not working</p>
<p>i have not includey original becuse it is not showing original …!!</p>
| php javascript | [2, 3] |
4,079,640 | 4,079,641 | asp.net range validator on textbox | <p>I have an <code>asp:textbox</code> with both required and range validators attached to it, where the code looks like this:</p>
<p>ASP:</p>
<pre><code><asp:TextBox ID="textBox1" runat="server" CausesValidation="true"></asp:TextBox>
<asp:RangeValidator ID="rangeValidator1" runat="server" ControlToVali... | c# asp.net | [0, 9] |
553,948 | 553,949 | Padding text with ellipsis if it's too long | <p>Hi I'm trying to solve a jQuery problem. I'm using a wordpress plugin that creates a widget from recent posts. The plugin auto-generates some code that I'm sort-of trying to format/hack with CSS and jQuery. One of the items that is auto generated is a headline:</p>
<pre><code><h4 class="srp-post-tilte">HEADLI... | javascript jquery | [3, 5] |
1,245,655 | 1,245,656 | jQuery Countdown serverSync 15 hours difference | <p>I am using Keith Woods countdown timer (http://keith-wood.name/countdown.html) with the serverSync function. This seems to work great in a single country however when I check the countdown from a different country it seems there is 15 hours ish difference.</p>
<p>So in Australia the countdown shows 1 day but in the... | php jquery | [2, 5] |
2,292,002 | 2,292,003 | Javascript Functions and default parameters, not working in IE and Chrome | <p>I created a function like this:</p>
<pre><code>function saveItem(andClose = false) {
}
</code></pre>
<p>It works fine in Firefox</p>
<p>In IE it gives this error on the console:
<code>Expected ')'</code></p>
<p>In Chrome it gives this error in the console:
<code>Uncaught SyntaxError: Unexpected token =</code></... | javascript jquery | [3, 5] |
949,700 | 949,701 | partial page update in jquery Simple Request | <p>i have simple request
I'm beginner in jquery so all i want to do is to do </p>
<p>button when i click it increment counter variable and update only label on page
not all page
also i will use same code to make clock in page
thank you </p>
| javascript jquery | [3, 5] |
474,000 | 474,001 | Simple $_GET question | <p>Hey, i am currently creating a pagination script using php and jquery and for some reason can't display the $_GET that im trying to grab.</p>
<p>There is no form, but looking at the firebug console I get a url like this:</p>
<pre><code>pagination.php?id=category
</code></pre>
<p>Just wondering how I can get that ... | php jquery | [2, 5] |
2,949,942 | 2,949,943 | Find dynamic control inside DevExpress Dockpanel | <p>I have a added a dynamic dev express dockPanel to my asxp page. Inside that dynamic dockPanel I dynamically create a dynamic gauge control. I want to perform a callback on the gauge to update its value. </p>
<p>Currently the callback should be executed inside this ASPxTimer:</p>
<pre><code><dx:ASPxTimer ID="ASP... | c# asp.net | [0, 9] |
1,502,623 | 1,502,624 | asp.net call javascript function from code behind | <p>I have to call the javascript from code behind.</p>
<pre><code> <script>
$(document).ready(function () {
$(document).click(function () {
test();
});
});
function test() {
\\ blah
}
</code></pre>
<p>The question is that there is no function name in the... | javascript asp.net | [3, 9] |
1,183,316 | 1,183,317 | Open My Documents | <p>Hi I have a link to a file in 'my documents' this is an internal web site. How can I open the users local MY Documents folder using JS or JQ </p>
<p>I used this code and thought the documents would appear in a web page but it didnt</p>
<pre><code>address = "G:\systems Projects" ;
window.open(address,"Detail ","... | javascript jquery | [3, 5] |
3,071,906 | 3,071,907 | how can I do a digest authorization? | <p>I need to do a digest authorization, I tried this
<a href="http://stackoverflow.com/questions/12631354/apache-httpclient-digest-authentication-failed">Apache HttpClient Digest Authentication Failed</a>
and this
<a href="http://stackoverflow.com/questions/2954434/apache-httpclient-digest-authentication">Apache HttpC... | java android | [1, 4] |
1,809,323 | 1,809,324 | Display Message on same popup window | <p>I want to display message on same customised popup window . Say for eg when i click on signin link a popup window comes and when i click on submit button , it get redirected to loginpage.php where php code for connection is written and other code of php is wriiten for database fetching . and if login credential matc... | php javascript | [2, 3] |
5,480,292 | 5,480,293 | button click event automatically fires | <p>My situation is like this i have a asp button inside my user control </p>
<pre><code> <asp:Button ID="btnSubmit"
Text="Send Notification" class="submit-btn01" onclick="btnSubmit_Click1" runat="server" />
</code></pre>
<p>in my browser when I refresh my page, button click event automatically happen... | c# asp.net | [0, 9] |
2,648,065 | 2,648,066 | Sugestion for FB meta tags using jquery and php | <p>here is my problem:</p>
<p>i have FB app, where i am getting data from json and using that data for making list of items in my main window, i can click on every item, and after i click it opens in new ajax window where i get more info about that item</p>
<p>problem is about meta tags for FB, cos i have LIKE button... | php jquery | [2, 5] |
5,411,194 | 5,411,195 | jquery and condition statement: problem in fetching data | <p>I wrote this post function in my jquery plugin and then faced to a strange problem .</p>
<p>Is the condition statement in this jquery code correct ?</p>
<pre><code> if(info = "enabled"){
$("#mod"+mod_id+" > img.status").attr("src","images/active.gif");
}else if(inf... | php jquery | [2, 5] |
1,564,000 | 1,564,001 | How to get element/component name using JavaScript? | <p>I have a webpage that contains ASP.NET panels and JavaScript that gets all of the components in the page:</p>
<pre><code>var items = Sys.Application.getComponents();
</code></pre>
<p>I need to get the name/ID of each of the elements in the items variable. I have tried the following code: (but it doesn't work)</p>
... | javascript asp.net | [3, 9] |
157,603 | 157,604 | Android Development using c# | <p>Is there a free way to develop apps for my Galaxy Tab (Androind 2.2) using c#? Or are there only paid solutions?</p>
| c# android | [0, 4] |
5,893,764 | 5,893,765 | Resize iframe on content refresh or update | <p>I have an iframe that I would like to resize to match its contents whenever the contents auto refreshes (every few minutes) or when the user interacts with it. Although the contents are in the same domain, it would be difficult for me to modify the contents. Ideally, the iframe would just self adjust to the size o... | javascript jquery | [3, 5] |
4,862,434 | 4,862,435 | Updating one text box as text is typed in another text box, using jQuery | <p>I have created a webpage using HTML and jQuery. And I am using webpy framework. I have two text boxes in my html/webpage. I want to display the contents of first textbox in second textbox meanwhile I type in first textbox. How can I implement this using jQuery.</p>
| javascript jquery | [3, 5] |
1,742,490 | 1,742,491 | dynamic button inside dynamic literal control | <p>I want to add dynamic literal control and dynamic button.</p>
<p>so I try like this:</p>
<pre><code> Literal lit = new Literal();
lit.Text = lit.Text + theRow["CaseExampleDescription"].ToString() + "\n\n";
Button btn = new Button();
btn.ID = "btn1";
... | c# asp.net | [0, 9] |
2,490,737 | 2,490,738 | Need some explanation in python arrays | <p>I am converting a python algorithm to c#, and I need some explanation. So I have this list of lists: </p>
<pre><code>offsets2 = [[(0.1, 0.1), (0.5, 0.1), (0.9, 0.1), (1.1, 0.1)],
[(0.1, 0.5), (0.5, 0.5), (0.9, 0.5), (1.1, 0.5)],
[(0.1, 0.9), (0.5, 0.9), (0.9, 0.9), (1.1, 0.9)],
[... | c# python | [0, 7] |
3,012,989 | 3,012,990 | Disable LinkButton when OnClick Event Fires | <p>I have an asp:LinkButton as follows:</p>
<pre><code><asp:LinkButton ID="LinkButtonNewServicesCategory" runat="server"
OnClientClick="this.disabled=true;return false;"
style="float:left;margin-right:5px;" CausesValidation="False">new services category</asp:LinkButton>
</code></pre>
<p>The int... | asp.net javascript | [9, 3] |
4,028,199 | 4,028,200 | How to monitor iframe from parent website? | <p>I have a website called A i want to include another website called B into A using iframe. Website B is an e-shopping site. I want to monitor all the pages of B through A. Is it possible? </p>
| javascript jquery | [3, 5] |
1,890,290 | 1,890,291 | Function "remembers" value problem | <p>This is a simplified partial version of my code to demonstrate the issue:</p>
<pre><code>function testFunc(){
var randomNum = Math.floor( Math.random() * 100 );
if( !flag ){
addEvents();
flag = true;
};
function checkNumber(){
alert(randomNum)
}
function addEvents(){
$("#... | javascript jquery | [3, 5] |
282,753 | 282,754 | val() returning html() instead of undefined for <option> tag when no value attribute is set | <p>Consider the following HTML:</p>
<pre><code><select>
<option value="hasAttr">Has a value attr</option>
<option>Does not have a value attr</option>
</select>
</code></pre>
<p>As you can see, one of the options has a value attribute set and the other does not. However, whe... | javascript jquery | [3, 5] |
1,848,910 | 1,848,911 | Can't fire click event on the elements with same id | <p>Could you help me to understand - where I made the mistake. I have the following html code:</p>
<pre><code><div id="container">
<a href="#info-mail.ru" id="getInfo" onClick="return false;">Info mail.ru</a>
</div>
<div id="container">
<a href="#info-mail.com" id="getInfo" onC... | javascript jquery | [3, 5] |
285,260 | 285,261 | OLE Object in Crystal Report | <p>I am very-very confused how to use OLE Object in Crystal Report </p>
<p>I am performing the following steps :-</p>
<p>(RC - Insert- OLE OBJECT).
Select From File : Select an Image and Place Ole Object to Crystal Report.</p>
<p>But after doing that if you are trying to show preview then nothing will be shown here.... | c# asp.net | [0, 9] |
2,676,235 | 2,676,236 | Communicating with iFrame contents | <p>There is an iFrame that contains a whole document <code>(<html> to </html>)</code>. This document contains some <code>script</code> tags too. My question is, can we call the functions of the scripts which are present in the iFrame?</p>
| javascript jquery | [3, 5] |
1,347,806 | 1,347,807 | Performance in jQuery with selectors | <p>i was wondering things...</p>
<p>If i need to get the content or append an click function to an div, as the structure of the selectors it's something like that:</p>
<pre><code>$('body #content #sidebar .modalwindow #global-content')
</code></pre>
<p>i want to target #global-content, the final id of the selectors.... | javascript jquery | [3, 5] |
2,255,071 | 2,255,072 | source only allowed values in JQuery UI autocomplete plugin | <p>Is is possible to restrict the user input to only the source values with <a href="http://jqueryui.com/demos/autocomplete" rel="nofollow">JQuery autocomplete plugin</a>?</p>
<p>For example, if the source array contains <code>"Bold","Normal","Default","100","200"</code>, the user is allowed to only type those values.... | javascript jquery | [3, 5] |
1,966,740 | 1,966,741 | Align text with radio button | <p>In below script : </p>
<pre><code><script type="text/javascript" charset="utf-8" src="http://static.polldaddy.com/p/6352993.js"></script>
<noscript><a href="http://polldaddy.com/poll/6352993/">This is very long test question to test how polldaddy handles questions that exceed that normal len... | javascript jquery | [3, 5] |
4,175,983 | 4,175,984 | .NET Get logged in user | <p>My problem is that I have a asp.net solution that uses a seperate project for logging and now I want the log to save the logged in user. Windows authentication is used for the webapp and the app pool is run under a service account. So when I call the logger through a method(static) I want the logger to pick up who i... | c# asp.net | [0, 9] |
5,666,185 | 5,666,186 | Android/Java: Convert any string to color (hex) | <p>Is there any way to generate a color from any String in Java / Android like an Encrypt / Hash function?</p>
<p>Example:
The String "Home" generates a color like "#FF1234".<br>
The String "Sky" generates a color like "#00CC33"
...</p>
<p>Without randomize. So, the system will always calculate the same colors for th... | java android | [1, 4] |
4,884,292 | 4,884,293 | Why my code to set the checked state of a checkbox with query doesn't work? | <p>Why this works</p>
<pre><code> document.getElementById("myCheckbox").checked = false;
</code></pre>
<p>whereas this doesn't with jquery:</p>
<pre><code> $("myCheckbox").attr("checked") = false;
</code></pre>
| javascript jquery | [3, 5] |
4,784,651 | 4,784,652 | Customize web site for Anonymous users and remember settings and information | <p>I have a E-Shop Site and I need some customization for my users like following :</p>
<ol>
<li>Store favorite products in their own basket.</li>
<li>Customize products list in order to what are their favorite.</li>
<li>It must remember their basket next time they want to visit our site.</li>
</ol>
<p>my question is... | c# asp.net | [0, 9] |
776,962 | 776,963 | categorizing data in in to hash map | <p>I have a javascript object in the following format and I am trying to categorize it</p>
<pre><code>var inputFacetArray=[
{ category:
"Company"
, name:
"nokia"
}, { category:
"Persons"
, name:
"ben affleck"
}, { category:
"Persons"
, name:
"daniel craig"
}, { category:
"Persons"
, name:
"george clooney"
}]
... | javascript jquery | [3, 5] |
5,285,877 | 5,285,878 | Include jQuery, if not included already | <p>I want to include the jquery in file, if not included already in the page.
How can I do this?</p>
<p>I wrote this, but it's giving undesired output.</p>
<pre><code><script type="text/javascript">
if ('undefined' == typeof window.jQuery) {
// jQuery not present
// alert("Jquery Unavailable");
<?php ec... | php jquery | [2, 5] |
3,947,963 | 3,947,964 | How to select different input type at the same time? | <p>Is it possible to do something like this in jQuery to select multiple input control so that I can bind the onchange event on all of them at the same time.</p>
<pre><code>jQuery('div input[type=(text|select|radio|checkbox)]')
</code></pre>
<p>or is it something like this <code>jQuery('div input[type=*]')</code> ?</... | javascript jquery | [3, 5] |
5,219,275 | 5,219,276 | Customizing the sort functionality of JavaScript arrays | <p>I have this very simple sort method:</p>
<pre><code>sortByNumericAttr : function (a, b,attr){
a = a[attr];
b = b[attr];
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
}
</code></pre>
<p>the idea here is that I have different objects with different attr that needs sorting (id,t... | javascript jquery | [3, 5] |
551,043 | 551,044 | how to make a file uploading detail | <p>i am implementing a uploading box in my site,The file got uploaded successfully but i want to make a box or loading bar which shows me detail of uploading like how much file is uploaded or what is the speed of transfer,I am bit confused with this, i want to know what is the logic behind this,Any help will be appreci... | php jquery | [2, 5] |
5,850,998 | 5,850,999 | javascript bug in firefox with string manipulation | <p>I have the following function in javascript. It works in every browser except firefox. There seems to be some problems with the substring keyword in this browser.</p>
<pre><code>function EvalMonthYear() {
var RawMonth = $.trim( $('#MonthList').val() );
var SpacePosition = RawMonth.lastIndexOf(' ') + 1;
... | javascript jquery | [3, 5] |
4,417,994 | 4,417,995 | Can views be added within GridView cells? | <p>I'm trying to create the following screen in my android app:</p>
<p><img src="http://i.stack.imgur.com/vuC0n.png" alt="enter image description here"></p>
<p>Except I may need to list up to 9 or more teams. I've been looking at GridView, but I can't find anything in the <a href="http://developer.android.com/refere... | java android | [1, 4] |
1,408,073 | 1,408,074 | trigger failure in jquery trigger | <pre><code>$(document).ready(function(){
jQuery("#but1").bind("click",function(e){
alert(e.name);
});
jQuery("#but1").trigger({name:'Dmy', surname:'My'});
});
</code></pre>
<p>The alert fails to pass the data, why is that?!? the alert says 'undefined'. </p>
<p>What am I doing wrong, why I fail... | javascript jquery | [3, 5] |
4,795,599 | 4,795,600 | Dynamically changing an object parameter with jQuery | <p>I have the following HTML (simplified and stripped for purposes of this question):</p>
<pre><code><html>
<head>
<title>My page</title>
</head>
<body>
<object id="myExp" class="myClass">
<param name="bgcolor" value="#ffffff" />
... | javascript jquery | [3, 5] |
4,339,248 | 4,339,249 | Manipulating one of many? | <p>I have some markup, like so...</p>
<pre><code><div id="items">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</code></pre>
<p>I want to write some functions to affect each one us... | javascript jquery | [3, 5] |
796,401 | 796,402 | jQuery iterate through HTML in a variable and remove first radio button | <p>I have a some HTML stored in a javascript variable that looks like below. Example looks like below.</p>
<pre><code>var divHTML = "<table><tbody><tr><td><input type='radio' name='radio_1'></td></tr><tr><td></td><tr><td><input type='radio' nam... | javascript jquery | [3, 5] |
3,330,960 | 3,330,961 | How does jQuery protect overwriting jQuery and $ | <p>These variables are located immediately after defining a local copy of jQuery in the <a href="http://code.jquery.com/jquery-1.4.4.js" rel="nofollow"><strong>jQuery source</strong></a>.</p>
<pre><code>// Map over jQuery in case of overwrite
_jQuery = window.jQuery
// Map over the $ in case of overwrite
_$ = window... | javascript jquery | [3, 5] |
3,209,294 | 3,209,295 | Adding a counter to a slideshow | <p>Hi
Does anyone know how I would go about adding a counter (i.e. 1/12, 2/12, 3/12 etc.) to this slideshow?</p>
<p><a href="http://www.switchonthecode.com/tutorials/jquery-creating-a-slideshow" rel="nofollow">http://www.switchonthecode.com/tutorials/jquery-creating-a-slideshow</a></p>
<p>Also, I would like the optio... | javascript jquery | [3, 5] |
3,911,290 | 3,911,291 | Facebook query Language | <p>Dear all,
How can i use FQl(facebook query language ) in my application to </p>
<p>1)GetOnline friends
2)Get Images
3Upload Photos
and more features </p>
| java javascript | [1, 3] |
5,108,061 | 5,108,062 | ShowModalDialog of javascript is not closing from ASP Code behind and opening a new pop up of same page | <p>i m opening an Webpage(Clock.aspx) from window.showModalDialog of javascript.In the Clock.aspx i have a button and i want that when the user click on that button the Clock.aspx page will be closed. I dont want to use onClientClick() method of javascript as some server side database insertion is going on and after th... | c# javascript asp.net | [0, 3, 9] |
417,955 | 417,956 | Getting a radio button immediately by clicking a label with jQuery | <p>I've got some radio buttons styled to be hidden with the labels visible and styled as I want them.</p>
<p>The problem is when I click a label I don't get the radio button's value on the first click.</p>
<p>If you look here you can see what I mean: <a href="http://jsfiddle.net/bQwtK/1/" rel="nofollow">http://jsfidd... | javascript jquery | [3, 5] |
1,431,776 | 1,431,777 | to set value parent page's frame from popup | <p>I want to set label's value from popup.But label is in frame and I dont know how to achieve it from popup. From parent page,i get this label by following javascript function.</p>
<p>But when I use this function in popup page, I cant find topframe.Do u have any solution about how to success it? </p>
<pre><code>if ... | asp.net javascript | [9, 3] |
3,686,188 | 3,686,189 | jQuery animate to offset/position | <p>I'm using jQuery animate to change the position of an element:</p>
<p><code>$('#item').animate({'top' : '-50'}, 0);</code></p>
<p>I don't need the animation, I just want to set the position. I tried both <code>offset</code> and <code>position</code>, but neither seemed to work right.</p>
<p>How should update thi... | javascript jquery | [3, 5] |
4,301,058 | 4,301,059 | jQuery - Show and hide last 4 numbers of a phone number | <p>How can I show and hide the last 4 numbers of a phone number by replacing it with something like 949XXXX and when you click on it show the rest of the numbers?</p>
<p>I just want to do this with jQuery/JavaScript.</p>
| javascript jquery | [3, 5] |
3,609,240 | 3,609,241 | Div width resize based on how many radio buttons are selected | <p>Basicly theres 2 divs open by default, the one of the left is always there and then you have 3 radio buttons. Atleast one must be selected (can't have "default" column all by itself). By default, the "default" div and "1" is there, and "2" and "3" are invisible (display:none). Each radio button is linked to specific... | javascript jquery | [3, 5] |
5,964,753 | 5,964,754 | Need assistance in editing javascript to add options to a slider so it will loop | <p>I have slider content (images) within tags in html and need my js to loop through all the inner divs or basically return to the beginning when it hits the last one. I won't know how many total images there are but it should detect and do a continuous loop. Currently, the user clicks to advance and I'd like to keep ... | javascript jquery | [3, 5] |
2,946,232 | 2,946,233 | How to Run a jQuery or JavaScript Before Page Start to Load | <p>I have a script that I want to run before the page start to load. The script checks the value of a variable and depending on the value redirect the user to a new page.</p>
<p>I can successfully check the variable and redirect if needed but the page still loads and display empty page but then quickly redirects to t... | javascript jquery | [3, 5] |
5,608,580 | 5,608,581 | Storing array of data into input with jQuery | <p>Each time the user clicks over a checkbox I add a couple of values to a hidden input value. </p>
<p>Each checkbox stores 2 values and it looks like this:</p>
<pre><code><input type="checkbox" class="first" value="9598864;3">
</code></pre>
<p>Where the first value would be: <code>9598864</code> and the secon... | javascript jquery | [3, 5] |
6,022,405 | 6,022,406 | It it possible to attach a global handler two different objects, and then remove just one of them? | <p>Suppose I make a global handler for closing a popup :</p>
<pre><code> mouseup_handler: function(item, mouse_is_inside){
if(!mouse_is_inside) {
close_box(item);
return false;
};
},
</code></pre>
<p>And I attach it as so :</p>
<pre><code>$("body").bind('mouseup', function(){ mouseup_handler($... | javascript jquery | [3, 5] |
4,370,454 | 4,370,455 | Call Jquery Server side asp.net | <p>i want to use <a href="http://www.erichynds.com/examples/jquery-notify/" rel="nofollow">this</a> plugin on my asp.net application.
I am serializing my title and text serverside with <a href="http://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.aspx" rel="nofollow">this</a> cla... | c# asp.net jquery | [0, 9, 5] |
1,898,827 | 1,898,828 | Using an application in Landscape mode also? | <p>I've an application running successfully, the application runs only in portrait mode only, if i'm going to change this to landscape, it's also possible to change. But, it won't never come to portrait mode. How can i use these (portrait & landscape) in same time? Is it possible? Thanks in advance.</p>
| java android | [1, 4] |
5,006,374 | 5,006,375 | What is it in Java standard library that Python's lacks? | <p>I hear that the Java standard library is larger than that of Python. That makes me curious about what is missing in Python's?</p>
| java python | [1, 7] |
1,349,994 | 1,349,995 | Add and transform layers of images and text like Photoshop fx | <p>This is just a question of approach and ideas, rather than solving an issue.</p>
<p>You know it from Photoshop, where you can add layers of text and images onto each other and transform and move them around to design a complete image. </p>
<p>What do you call this? And do you know some jQuery plugins that does thi... | javascript jquery | [3, 5] |
2,705,942 | 2,705,943 | what does jQuery(function) do | <p>I am reading <code>javascript</code> web application and the author is using following code:</p>
<pre><code>mod.load = function(func){
$($.proxy(func, this));
};
</code></pre>
<p>Can someone help me to understand why returning function from <code>jQuery.proxy</code> is inside <code>jQuery</code> wrapper. </p>
... | javascript jquery | [3, 5] |
2,134,375 | 2,134,376 | image preloader not working in IE | <p>I have the following code to preload images:</p>
<pre><code>preloader : function(images) {
var imgCount = images.length;
var counter = 0;
$.each(images, function(i, n) {
alert('hi');
// load each image
$("<img />").attr("src", n).load(function() {
... | javascript jquery | [3, 5] |
5,696,352 | 5,696,353 | Formview paging controls not showing | <p>I have a formview which displays a recordset based on a parameter supplied by a dropdownlist. The formview has "AllowPaging = True".</p>
<p>The first time the dropdownlist is changed, the formview shows the (correct) first row of the retrieved recordset but the paging controls are missing. From that point on, whe... | c# asp.net | [0, 9] |
621,608 | 621,609 | Change Input to Upper Case | <p>JS: </p>
<pre><code><script type="text/css">
$(function() {
$('#upper').keyup(function() {
this.value = this.value.toUpperCase();
});
});
</script>
</code></pre>
<p><strong>HTML</strong></p>
<pre><code><div id="search">
<input type="radio" name="table" class="table" va... | javascript jquery | [3, 5] |
1,093,183 | 1,093,184 | Does Jquery add value to Java / Java EE programmer? | <p>I am a Java EE Programmer, I came across Jquery some where in Stack over flow, If I am Planning to learn Jquery</p>
<p>My question is
1) Does Jquery Add any additional weightage in my Java / Java EE Career</p>
<p>2) If Yes, What way it can help me </p>
<p>3) Please share the links where I can learn Jquery</p>
| java javascript jquery | [1, 3, 5] |
785,117 | 785,118 | content filter hides everything when it is told to filter nothing | <p>I have this content filter that filters <code><div></code>s with the class of container (div.container) by hiding those div that do not contain what is typed inside the input field.</p>
<p>That way it only shows the <code><div></code>s that contain whatever is typed inside the input field.</p>
<p>Now, ... | javascript jquery | [3, 5] |
4,420,822 | 4,420,823 | Why doesn't my PHP-generated javascript work? | <p>i have the following javascript code</p>
<pre><code>echo ' <a href = "javascript:void(0)" onclick = "document.getElementById("items").style.display="block";document.getElementById("fade").style.display="block""><span style="padding-left:0px"><input type="submit" name="r" style="width: 138px; font-wei... | php javascript | [2, 3] |
2,874,543 | 2,874,544 | Red Black Tree and Multimap | <p>In many compilers, Data structures such as<code>Set</code>, <code>Map</code>, <code>Multimap</code> use Red-Black-Trees in behind. And a <code>multimap</code> stores multiple and duplicated keys.</p>
<blockquote>
<p>"A red-black-tree stores keys uniquely and binds just one DataValue to
each key"</p>
</blockquot... | c# java c++ | [0, 1, 6] |
5,790,026 | 5,790,027 | How to print value in array with jQuery - .html | <p>I am trying to print a value from an array in jQuery to the screen using the .html function.
The variable is test.</p>
<p>If I just use the line of code below it will print everything in the array:</p>
<pre><code>$(this).html(test).addClass('messageboxerror').fadeTo(900,1);
Array ( [0] => 2820 Prairie [1] =>... | javascript jquery | [3, 5] |
926,619 | 926,620 | What is the best way to get the value of a div? | <p>I'm working on a site that has random background images in the container. Every time you load the site there is a different image generated by a php script.
When the PHP script randomly chooses 1.jpg to show, I would like bg1.png to be used as background image.
If the PHP script randomly chooses 2.jpg to show, I wo... | php jquery | [2, 5] |
271,542 | 271,543 | Hide/Show elements with jQuery | <p>I have following site structure</p>
<pre><code><div id="movies">
<a href="">
<div>content</div>
</a>
<a href="">
<div>content</div>
</a>
...
</div>
</code></pre>
<p>There can be up to 50 <code>a tags</code... | javascript jquery | [3, 5] |
1,869,707 | 1,869,708 | Removing dynamically created controls | <p>I am attempting to remove dynamically created controls in C# 2008 asp.net</p>
<p>The controls are created here:</p>
<pre><code> int i;
for (i = 0; i < myCount; i += 1)
{
TextBox txtAuto = new TextBox();
TextBox txtModel = new TextBox();
TextBox txtMiles... | c# asp.net | [0, 9] |
4,456,630 | 4,456,631 | Javascript function scope | <p>I'm trying to call an instance method a() from within a jQuery ajax call. But when I do so, it says that the method is not defined. I think it's because a() is not within the scope of $. But I thought it would be part of the scope chain. How can a() be within scope?</p>
<pre><code>function Z() {
this.x = 0
... | javascript jquery | [3, 5] |
1,565,785 | 1,565,786 | Pixels from top | <p>I'm working on a Facebook App that has a FancyBox (lightbox). The <code>iframe</code> is very long, and when you click an image, the lightbox shows at the middle of the <code>iframe</code> instead of the middle of the screen. </p>
<p>How do I get the amount of pixels that the browser has scrolled down?</p>
<p>/Ken... | javascript jquery | [3, 5] |
5,952,958 | 5,952,959 | OnResizeListener or OnDrawListener or something Similar | <p>I need to get the width of my main <code>LinearLayout</code> at creation time. Until it is actually draw the width is 0 - it isn't drawn until after <code>onCreate(...)</code> is finished... So what I would like to do is be told when it has been drawn or resized and then grab the width from there. There doesn't appe... | java android | [1, 4] |
5,409,409 | 5,409,410 | How to make jQuery effects run in sequence, not simultaneously? | <p>How do I have two effects in jQuery run in sequence, not simultaneously? Take this piece of code for example:</p>
<pre><code>$("#show-projects").click(function() {
$(".page:visible").fadeOut("normal");
$("#projects").fadeIn("normal");
});
</code></pre>
<p>The fadeOut and the fadeIn run simultaneously, how ... | javascript jquery | [3, 5] |
1,202,664 | 1,202,665 | Can we access one control Id registered in one aspx in to another ascx control,, | <p>Can we access one control Id registered in one aspx in to another ascx control,,</p>
| c# asp.net | [0, 9] |
5,583,998 | 5,583,999 | What is causing this button to crash? | <p>I'm writing an app that allows me to send a command through TCP/IP by clicking a button. However when I click to the button in the emulator it comes back with a message saying the button has stopped working. I was wondering if anyone could spot the error in my code.</p>
<p><strong>CODE:</strong></p>
<pre><code>pac... | java android | [1, 4] |
3,295,095 | 3,295,096 | From PHP to Python accommodation | <p>I've been coding php for years, and now i have to finally make my own project, and i want it very optimized and shiny. So, i've been searching around the net about which programming language should i use for my needs (fast, secure, easy-understandable, customizable) and all points to -> Python. So I decided to go on... | php python | [2, 7] |
1,815,707 | 1,815,708 | Is it possible to return an ASP page before continuing slow server side work (eg logging) | <p>Is it possible to return the page response to the user, before you've finished all your server side work?</p>
<p>Ie, I've got a cheap hosting account with No database, but I'd like to log a certain event, by calling a webservice on my other, more expensive hosting account (ie, a very slow logging operation)</p>
<p... | c# asp.net | [0, 9] |
4,884,421 | 4,884,422 | jQuery mouseenter and mouseleave not working correctly after .append() | <p>I have a <code>div</code> object that is set to visible in a mouseover event, via jQuery. Inside this div I have a clickable element that runs a Javascript function, which loads HTML content from another file via <code>$.get()</code>.</p>
<p>The problem is that my <code>div</code> is hidden automatically when I mov... | javascript jquery | [3, 5] |
4,289,875 | 4,289,876 | Cookies - PHP vs Javascript | <p>With regards to security and convenience which cookies are better the PHP ones or the Javascript ones?</p>
| php javascript | [2, 3] |
1,074,779 | 1,074,780 | How to preload a div combobox in jquery | <p>I have code as follows:</p>
<pre><code>$("#item_select").change(function()
{
var params = $("#item_select option:selected").val();
$.post('/account/ar_form.php', {idata: params}, function(data){
$("#message_display" ).html(data);
});
});
</code></pre>
<p>This is a dropdown that uses /accoun... | php jquery | [2, 5] |
4,818,051 | 4,818,052 | Asp.NET|Get Ip Of a user when he open the site\click on a button | <p>Simple as that. </p>
<p>i want to save the ip on a session id, or. when he click on a button it will do like that:</p>
<pre><code>using (StreamWriter writer = new StreamWriter(fileStream))
{
writer.WriteLine(TextBox1.Text);
}
</code></pre>
<p>(its not all the code ofc)</p>
<p>when he ... | c# asp.net | [0, 9] |
562,876 | 562,877 | jQuery: $.post not working, $.get works | <p>Firstly, I did look at related posts, but none of them quite stoops down to my stupidity levels. Its my first time working with web technologies and I'm trying to work with Ajax/JQuery and Django.
Here is the code:</p>
<pre><code>$(document).ready(function() {
$('... | javascript jquery | [3, 5] |
4,010,297 | 4,010,298 | jQuery and the accuracy of the css function | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3029178/jquery-and-margin-0-auto">jQuery and margin: 0 auto</a> </p>
</blockquote>
<p>I have the following HTML:</p>
<pre><code><p style="margin-left:auto; margin-right:auto; width:200px;">Hello</p>... | javascript jquery | [3, 5] |
786,134 | 786,135 | Is there any function in jquery that counts the time the mouse is over a div? | <p>I'm using jquery and
when i mouse over div A, div B appears.</p>
<p>What i would like to achieve is:</p>
<p>When the mouse is over div A <strong>greater than 3 seconds</strong> ( > 3s),
the div B shall appear.</p>
<p>Is there any function in jquery that counts the time the mouse is over a div??</p>
<p>Thanks, i... | javascript jquery | [3, 5] |
443,545 | 443,546 | update javascript in updatepanel | <p>lets say I've got a function that iterates over an array. The function is outside the updatepanel, the array is defined within the update panel. The items of the array are dynamically created. On the first try I've realized, that the values of the array do not update when the update panel loads again.</p>
<p>Would ... | javascript asp.net | [3, 9] |
291,793 | 291,794 | Can't $_POST values from disabled Radio buttons | <p>I have two pages, in the first page I submit the form which contains Radio buttons.</p>
<p>From the second page, I try to read the responses from the Radio buttons using the $_POST.</p>
<p>The problem is when I hit submit, the $_POST in the second page reads NULL.
But when I'm not disabling the Radio buttons in th... | php javascript | [2, 3] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.