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 |
|---|---|---|---|---|---|
3,799,428 | 3,799,429 | Fade background image with fadeIn() | <p>I want to change the background image, which I built a <code>ChangeBg</code> function for, to be faded.</p>
<p>Why is this not working? What am I doing wrong?</p>
<pre><code><script src="http://ajax.microsoft.com/ajax/jQuery/jquery-1.4.4.js"type="text/javascript"></script>
<script language="JavaScri... | javascript jquery | [3, 5] |
4,237,594 | 4,237,595 | jConfirm form submit returns incorrect value to php | <p>hi im using jConfirm to return form submission to php</p>
<p>my html looks like this:</p>
<pre><code><form id="formdelete" name="formdelete" method="post" action="/home.php">
<input type="hidden" name="remove_user" id="remove_user" value="3">
<input type="submit" value="" border="0" name="image" src... | php jquery | [2, 5] |
3,339,647 | 3,339,648 | jQuery to trigger CSS3 button | <p>I have this CSS3 enter button
<a href="http://dl.dropbox.com/u/2568/enter/enter.html" rel="nofollow">here</a>:</p>
<p>If you click it, it seems like it's pressed. I want to achieve the same effect (probably using jQuery), by pressing the enter key physically on my keyboard. </p>
<p>I did something like this: (sorr... | javascript jquery | [3, 5] |
158,451 | 158,452 | Passing div to jquery function and get its innerhtml | <p>I have a function to print the content of a div. Let me share my aspx markup.</p>
<pre><code><div>
<div id="printarea" runat="server">
</div>
<asp:Button ID="btnPrint" runat="server" Text="Print Div" OnClick="btnPrint_Click" />
</code></pre>
<p></p>
<p>In the OnClick event innerhtml is set... | javascript jquery asp.net | [3, 5, 9] |
334,904 | 334,905 | submit onChange using pretty url's | <p>i've already opened a question for this problem, but it was very bad formulated and because of that i did not get a good response.... so heres another try... hope it's ok</p>
<hr>
<p>i have a form with a selected tag and some options inside</p>
<pre><code><form>
<select>
<option selected="se... | php jquery | [2, 5] |
1,906,057 | 1,906,058 | Is it possible to convert input control to label? | <p>I am making a form that contains a lot of User Controls, each User Control is part of the form (contains TextBox, ComboBox etc).</p>
<p>User will use the form to update their information.
At end of submission, I need to display the original data and the data that the user have entered.</p>
<p>I wonder if is possib... | c# asp.net | [0, 9] |
699,258 | 699,259 | Why serialize does not include submit button name? | <p>Why serialize (Jquery) does not include submit button name?</p>
<p>In PHP I normally do this:</p>
<pre><code>if (isset($_POST['submit_signup'])) {
print_r($_POST);
//Then check firstname, password, etc POSTS
}
</code></pre>
<p>That don't work, what is the solution to this?</p>
| php javascript jquery | [2, 3, 5] |
5,530,268 | 5,530,269 | getting error while replacing the single quotes from text | <p>I have a text box with tinyMCE editor, i am giving some text from that text box with single quotes, but in query it is showing syntax error</p>
<p>I am trying to remove the single quotes by this </p>
<pre><code>txbCaption.Text = txbCaption.Text.Replace("'", "''");
</code></pre>
<p>and my query</p>
<pre><code>pub... | c# asp.net | [0, 9] |
1,173,264 | 1,173,265 | How to return this value? | <p>I am building a mobile app using <code>phonegap</code>, <code>jQuery</code> and <code>jQuery mobile</code>. I want to use <code>SqLite</code> database in my app for storing some user information. (I can't use <code>local storage</code> i want to do search/sort operations on the data)</p>
<p>This is the code I am wo... | javascript jquery | [3, 5] |
598,283 | 598,284 | How can I put JavaScript code at the bottom of an ASP.NET page? | <p>In my ASP.NET page, I am referring to an external JavaScript file.</p>
<p>As per my learning in the web, it's recommended always to put inline JavaScript code at the bottom of the page. There is no information about how to do it for an external JavaScript reference.</p>
<p>I want to know, if I am referring to an e... | javascript asp.net | [3, 9] |
3,481,622 | 3,481,623 | Hyphen (-) in string bound to text input control in GridView with Eval("columnName") cuts off the text after the hyphen | <p>I have a GridView which is bound to a data source. In the .aspx file I use somthing like this</p>
<pre><code><asp:GridView...>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<input type="text" value='<%# Eval('type') %>'
...
</GridVie... | c# asp.net | [0, 9] |
2,840,022 | 2,840,023 | how to select a particular tag from seletected array of tags using Jquery | <p>I am selecting all tags where href attribute is starting with "picThumbImgA_" as below.</p>
<p><code>$('a[id^="picThumbImgA_"])')</code></p>
<p>now i want to update some attributes of first four tag. I can select first as </p>
<p><code>$('a[id^="picThumbImgA_"]):first')</code></p>
<p>and last as <code>$('a[id^... | javascript jquery | [3, 5] |
3,721,298 | 3,721,299 | Check if popup is closed in phone-friendly way (Checking value of .closed doesn't work) | <p>If I have created a popup window using <code>newWindow = window.open(url, name, dimensions)</code>, how can I check whether the window is closed in a way that will work on mobile browsers?</p>
<p>I tried using <code>if(newWindow.closed)</code>, and this works in Chrome on a PC and works on iPhone. However, on the A... | javascript android | [3, 4] |
2,404,244 | 2,404,245 | Differences between jQuery's hide() and .css('display', 'none')? | <p>I've changed a few pages from using generic JavaScript that sets a CSS style property</p>
<pre><code>element.style.display = "none";
</code></pre>
<p>to jQuery's method</p>
<pre><code>element.hide();
</code></pre>
<p>When the back button is used to return to my page, elements that were hidden using jQuery are no... | javascript jquery | [3, 5] |
5,124,442 | 5,124,443 | Given a website's HTML in a string, how to extract tag elements? | <pre><code>HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create("http://www.home.com");
myRequest.Method = "GET";
WebResponse myResponse = myRequest.GetResponse();
StreamReader sr = new StreamReader(myResponse.GetResponseStream(),
System.Text.Encoding.UTF8);
string result = s... | c# asp.net | [0, 9] |
3,769,928 | 3,769,929 | Compiled code spreadsheet-like cell management? (auto-updating) | <p>Okay so I am fully aware how spreadsheets manage cells, they build dependency graphs where when one cell changes it tells all the other cells that are dependent on it that it changed. So they can from there update. </p>
<p>How they update I think involves either re-evaluating the formulas stored as strings, or re-e... | java c# | [1, 0] |
1,775,621 | 1,775,622 | Cached Jquery selector behavior that I do not understand | <p>Given the following code why am I getting different values for <code>a</code> and <code>b</code>? I would have thought they would return the same thing:</p>
<pre><code>(function() {
var a = $('#foo');
var Test = function(){
console.log(a); //outputs 'jQuery()'
var b = $('#foo');
console.log(b);... | javascript jquery | [3, 5] |
4,268,201 | 4,268,202 | Split a title in half, or get as close to the middle as posible | <p>So I have this H3 title and I want to take half of it and wrap it in a span.
The problem is the title can have 4 words, or 2 or 5 and so on, and I just can figure out how to split the title in half (more or less).</p>
<p>So I want to go from:</p>
<pre><code><h3>Some random title goes here</h3>
</code><... | php javascript | [2, 3] |
937,588 | 937,589 | Form that removes WWW. and prints result on input? | <p>I need to make a form similar to the one "shorten link" sites use. It should simply remove WWW. and echo the result so I later add my code around it.</p>
<p>For example if the user types www.pizza.com/blablabla clicking on input should display: pizza.com/blablabla</p>
<p>Thanks</p>
| php javascript | [2, 3] |
4,532,381 | 4,532,382 | Echo PHP variable inside jQuery SwitchCase? | <p>I have a jQuery script that I am including on a PHP page that takes mt content and creates facebook/myspace share links. I am having trouble echoing PHP code inside of the swith case statement that builds the share URL's. Here's my code:</p>
<p>case 'facebook':
this.href += '?t=' + document.title + '&u=ht... | php javascript jquery | [2, 3, 5] |
1,539,422 | 1,539,423 | Handling elements generated by Javascript in Asp.Net | <p>I have several elements in my web page generated by JavaScript.
Here's an example of such content:</p>
<pre><code><input id="uploadfile01" type="file" onchange="change(1);" />
<input id="uploadfile02" type="file" onchange="change(2);" />
</code></pre>
<p>My question is:
How can I interact with these el... | asp.net javascript | [9, 3] |
1,301,457 | 1,301,458 | Setting a Php variable to a parameter | <p>I need to set a Php variable according to a param name.</p>
<p>Javascript Code: </p>
<pre><code><param name="movie" value="....;">
</code></pre>
<p>located in a separated external js file</p>
<p>I took the value out, since it will be dynamic.</p>
<p>My attempts:</p>
<pre><code>$movie = $_GET["movie"]
<... | php javascript | [2, 3] |
3,276,466 | 3,276,467 | Disable hover, text select, etc when dragging an element in JQuery plug in | <p>I have a carousel based off of:</p>
<p><a href="http://nooshu.com/explore/jquery-iphone-animation/" rel="nofollow">http://nooshu.com/explore/jquery-iphone-animation/</a></p>
<p>When you are in the process of grabbing and dragging, you're apt to select text. If I have links in the panels, I get the hover message, e... | javascript jquery | [3, 5] |
1,927,119 | 1,927,120 | why "$(opener.document).ready()" is not working? | <p>I tried something like, below in popup-window, but not working...</p>
<p>any correction at line 3, please suggest.</p>
<pre><code>function closePopup() {
window.opener.history.go(0);
$(opener.document).ready(function(){
window.opener.some_function(some_variable);
self.close();
});
}
</code></pre>
| javascript jquery | [3, 5] |
2,093,737 | 2,093,738 | Getting broken images on localhost but not on websites | <p>On our website we have images dropped on a grid with the following line:</p>
<pre><code>imgUpdated.ImageUrl = "./images/Test_Icon.gif";
</code></pre>
<p>This works fine when published to production or test websites but within the IDE it gives broken (Red-X) images. Properties on the broken image says this:</p>
<p... | c# asp.net | [0, 9] |
4,003,712 | 4,003,713 | Sequentially Load DIV using Jquery | <p>Is it possible to load a series of DIVS using Jquery using a preloader.</p>
<p>For instance, I have a page with 4 divs nested within 1 main div.</p>
<p></p>
<p> </p>
<p>I'd like to load content1, then content2, and so on.</p>
<p>Plus, only 1 div will load at a time in the sequence.</p>
<p>Is this p... | php jquery | [2, 5] |
1,491,140 | 1,491,141 | gallery image loading problem using galleryView jquery plugin | <p>programmers. i need help</p>
<p>I tried to implement jquery galleryview plugin for my image gallery(<a href="http://testyourproject.com/integra/client/shareArtMags/testImgLoad.php" rel="nofollow"> this is my image gallery</a> ).
The problem i face is it gets some what properly loaded in firefox but, in chrome and s... | php javascript jquery | [2, 3, 5] |
4,910,256 | 4,910,257 | jQuery object get value by key | <p>How would you get the value of <code>assocIMG</code> by key matching the key eg</p>
<p>if I have a var <code>11786</code> I want it to return <code>media/catalog/product/8795139_633.jpg</code></p>
<pre><code>var spConfig = {
"attributes": {
"125": {
"id": "125",
"code": "pos_col... | javascript jquery | [3, 5] |
1,705,927 | 1,705,928 | How much Java should I have learnt before trying Android programming? | <p>I have been seeking beginner learning books in Android, and of course found out that I should learn Java first. So I began studying Java and now I am quite comfortable with objects, classes, inheritance, interfaces, and just moved onto Layouts in Swing as well as Swing Features. But I am starting to wonder.... do ... | java android | [1, 4] |
1,751,979 | 1,751,980 | selecting field text with javascript | <p>I am using the below code to select a fields text with JavaScript but it doesn't quite work:</p>
<pre><code>//auto select that fields text for easy COPY
var content = parent.document.getElementById('share_field_<?php echo $id; ?>');
content.focus();
content.select();
</code></pre>
<p>Field to select:</p>
<... | php javascript | [2, 3] |
4,477,693 | 4,477,694 | Passing URL from php to javascript | <p>I am reading a rss feed with php and creating html DOM from the same. Now I have a bunch of <code><li></code>'s with news feed. when a user clicks on a particular <code><li></code> I want to post certain data to another php file which performs some other function. </p>
<p>How I want the data is tricky. ... | php javascript | [2, 3] |
5,373,941 | 5,373,942 | How to tell if browser/tab is active | <p>I have a function that is called every second that I only want to run if the current page is in the foreground, i.e. the user hasn't minimized the browser or switched to another tab. It serves no purpose if the user isn't looking at it and is potentially CPU-intensive, so I don't want to just waste cycles in the bac... | javascript jquery | [3, 5] |
1,657,335 | 1,657,336 | Java vs native coding in Android Application development | <p>I plan to create an SDK (involving huge data manipulations), which can used to create applications on Android.</p>
<p>I plan to develop the complete SDK, including the libraries in Java, for the reason that if I implement my libraries in the native language(C++) the data movement between the Java and the native lay... | java android c++ | [1, 4, 6] |
446,072 | 446,073 | JQuery multiple attributes filter not working | <p>I have some html that looks like this. It's the textbox on a popup window, specifically, Quora's ask question box. <a href="http://www.quora.com/" rel="nofollow">http://www.quora.com/</a></p>
<pre><code><div class="qtext_editor_content qed_content" group="__w2_TrzaBWs_interaction" interactive="true" w2cid="TrzaB... | javascript jquery | [3, 5] |
5,252,791 | 5,252,792 | Using sessions for protecting web files to be accessed if the user is logged or not . useful or not? | <p>I have a login page and a global page where the user is redirected to after he logged in.</p>
<p>I need to know if this is a good method for protecting some web files to be accessed if the user is not logged in.</p>
<p><code>global.aspx</code> code (the protected page where the user is redirected after he logged i... | c# asp.net | [0, 9] |
36,495 | 36,496 | Is beginner knowledge of Java enough to develop for Android? | <p>I just finished the book "Tech Yourself Java in 24 Hours, 6th Edition" I have an understanding of the language (by understanding I mean, the basics and everything covered in the book) and I have been experimenting and building little things with my knowledge. I want to learn about Android and was wondering if I need... | java android | [1, 4] |
3,243,707 | 3,243,708 | Google AdSense code not executed in asp.net | <p>I put the AdSense script in my asp.net web site code.<br>
I see that the script executed and I also receive from Google the relevant code.<br>
But What I receive I see it in my web site as text and not as executable code.<br>
I see that with Firebug.<br>
Additionally I have to say that this script stays behind a DIV... | javascript asp.net | [3, 9] |
1,389,857 | 1,389,858 | jQuery Plugins: If I want to call something like $('selector').plugin.group.method(), how can I achieve this? | <p>I have written some relatively simple jQuery plug-ins, but I am contemplating writing something more advanced in order to keep commonly used methods on the site easily accessible and DRY</p>
<p>For example, I might have something like this for a structure:</p>
<pre>
plugin
- popup
- element
...
=== popup ===
- lo... | javascript jquery | [3, 5] |
1,364,396 | 1,364,397 | next and prev button for a custom pager using PagedDataSource | <p>I am trying to get the next and prev button on my custom pager. Here is what I have so far and it's working perfect except it needs next and prev button.</p>
<p><strong>What I have done</strong></p>
<pre><code> PagedDataSource page = new PagedDataSource();
page.AllowCustomPaging = true;
... | c# asp.net | [0, 9] |
1,237,925 | 1,237,926 | JQuery: Push Effect? | <p>I'm currently using the JQuery slideDown/slideUp effect and am not accomplishing what I want.</p>
<p>Essentially, I want to create an action where I "push" a div off the top of the browser window.</p>
<p>Something similar to the <a href="http://aaronweyenberg.com/demos/voteflipper/demo.html" rel="nofollow">followi... | javascript jquery | [3, 5] |
4,101,097 | 4,101,098 | How to detect if a click() is a mouse click or triggered by some code? | <p>How to detect if a click() is a mouse click or triggered by some code?</p>
| javascript jquery | [3, 5] |
2,005,032 | 2,005,033 | Receive output of python script from PHP? | <p>I want to launch a python script similar to <a href="http://www.eventlet.net/doc/examples.html#web-crawler-example" rel="nofollow">this web crawler</a>, wait for it to finish, process the data in php, then return the results to the user.</p>
<p>From what I hear, getting the output from python is trivial, but the ab... | php python | [2, 7] |
1,910,578 | 1,910,579 | jquery show hide | <p>look I have this question, how can i do something like this (look at images)</p>
<p>I think it's possible to do with jQuery or ajax, but i don't know how..</p>
<ol>
<li>i have page something like this :
<img src="http://i.stack.imgur.com/fEY01.png" alt="enter image description here"></li>
<li>when i click on 1st g... | javascript jquery | [3, 5] |
4,985,711 | 4,985,712 | aspx.cs and aspx page problem | <p>I'm developing a sort of a Web-site that lets you search, display(as thumbnails),
delete images. I've followed the example of this site
<a href="http://www.codeproject.com/KB/web-image/EasyThumbs.aspx" rel="nofollow">http://www.codeproject.com/KB/web-image/EasyThumbs.aspx</a> , but i've found
some problems into t... | c# asp.net | [0, 9] |
5,678,919 | 5,678,920 | Why does copying a file using FileInfo.CopyTo creates the destination copied file as readonly? | <p>I have two folders in my asp.net web application in which I create new folders programmaticaly. The entire solution is under VSS source control.</p>
<p>I was not able to manipulate these two folders programmably.
For that, I gave {MACHINE}\ASPNET user account full control over these two folders.</p>
<p>Still, the ... | c# asp.net | [0, 9] |
5,212,701 | 5,212,702 | DropDownList inaccessible | <p>I have a drop down list in my TopicTreeSearchControl, on my page, but from the actually page where the control sits, I get an error:</p>
<pre><code>'TopicSearchTree.ddlDatasources' is inaccessible due to its protection level
</code></pre>
<p>I am trying to do this from my page:</p>
<pre><code>protected override v... | c# asp.net | [0, 9] |
2,429,994 | 2,429,995 | C# oncheckedchanged event handler of aspcheckbox does not fire when checkbox is unc | <p>Hey could you look at this code: I get this error:</p>
<blockquote>
<p>Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in ... | c# asp.net | [0, 9] |
4,452,689 | 4,452,690 | Class memory allocation difference b/w c# and c++ | <p>The title is quite simple but i have a one problem with that. As we know, In c++ when a class is created none of memory allocated in ram. When it's instances created the memory allocation starts. but In C# i have listened from so many when class created memory allocated even u don't have any data type or instance/ob... | c# c++ | [0, 6] |
130,275 | 130,276 | jQuery mouse over menu and animate position element behind | <p>Is there a jQuery equivalent to provide the same functionality as <a href="http://www.scriptiny.com/2008/05/sliding-javascript-menu-highlight-1kb/" rel="nofollow">here</a>? </p>
<p>JavaScript</p>
<pre><code>var menuSlider=function(){
var m,e,g,s,q,i; e=[]; q=8; i=8;
return{
init:function(j,k){
m=docume... | javascript jquery | [3, 5] |
1,927,179 | 1,927,180 | jQuery keyword cannot recognize error | <p>I am using jQuery 1.6.1 and want to use JqGrid (a grid table plugin for JQuery). However when I use it, I get the following error in Firebug:</p>
<pre><code>jQuery("#confTable").jqGrid is not a function
</code></pre>
<p>I changed it to this:</p>
<pre><code>$("#confTable").jqGrid is not a function
</code></pre>
<... | javascript jquery | [3, 5] |
1,825,951 | 1,825,952 | Developing a Custom Asp.net Control with Nested Repeaters | <p>I've never created a custom control, so barring that in mind here is my question:</p>
<p>Is it possible to create a custom control with nested repeaters?</p>
<p>The usage would be something like this:</p>
<pre><code><tag:NestedRepeater id="foo" runat="server" levels="6"/>
</code></pre>
<p>I currently have ... | c# asp.net | [0, 9] |
5,402,545 | 5,402,546 | Code not running when using ".remove()" function | <p>I'm writing this jquery code :</p>
<pre><code>$('form').after('<p id="suc"></p>');
$('#suc').html('success !');
$('#suc').show(700);
setTimeout(function(){$('#suc').hide('slow')},2500);
$('#suc').remove();
</code></pre>
<p>When i remove <code>$('#suc').remove();</code> like this :</p>
<pre><code>$('fo... | javascript jquery | [3, 5] |
4,557,847 | 4,557,848 | Android: Opening default phone dailing | <pre><code><TextView
android:id="@+id/TextView03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/header"
android:layout_alignLeft="@+id/button1"
android:layout_marginBottom="127dp"
android:text="@string/phone"
android:textColor="#00... | java android | [1, 4] |
844,231 | 844,232 | Android: How to Get 3G/UMTS Signal Strength Values | <p>I am a Cellular RF Engineer and have been trying to get some specific WCDMA/3G/UMTSsignal measurement values out of Android SDK environment. Using the public class <code>SignalStrength</code> I have been successful in getting meaningful GSM values (with the assistance of a Software Engineer) using <code>getGsmSigna... | java android | [1, 4] |
5,240,091 | 5,240,092 | How do I get the total of table data with a particular class? (jQuery) | <p>Say I have the following table: </p>
<pre><code><table class="table questions">
<tr>
<td class="someClass">Some data</td>
<td class="someOtherclass">Some data</td>
</tr>
<tr>
<td class="someOtherClass">Some data</td>
... | javascript jquery | [3, 5] |
657,542 | 657,543 | Events with and without delegates in ASP.NET | <p>In some ASP.NET examples i see that events are used with delegates <a href="http://www.dotnetjohn.com/articles.aspx?articleid=62" rel="nofollow">like this</a> and sometimes without them <a href="http://asp.net-tutorials.com/user-controls/events/" rel="nofollow">like this</a>.</p>
<p>Please explain!</p>
| c# asp.net | [0, 9] |
5,994,078 | 5,994,079 | Replay the hint sound | <p>In my drag and drop game there is a grid that is populated with words that are hidden from the user. The aim of the game is to spell these words with the aid of a sound and a picture.</p>
<p>When the user is spelling the word they should be able to replay the sound to help them. I had it working before but it has s... | javascript jquery | [3, 5] |
1,994,215 | 1,994,216 | 2 javascripts plugin not working together | <p>I tried to implement 2 plugins in a page and when i introduce the 2nd one... the 1st plugins stops working .. can you please help me in this.. he is the page i am trying to build..</p>
<p><a href="http://www.abc.com/home21" rel="nofollow">http://www.abc.com/home21</a></p>
<p>and here are the 2 plugins i am trying ... | javascript jquery | [3, 5] |
5,865,105 | 5,865,106 | how to check whether the value is inserted or not | <p>Am using DataSetTableAdapters for inserting data.how can i check whether the value is inserted or not..I want to show the error or success message after completion of inserting..</p>
<p>My partial code is here: </p>
<pre><code> DataSet5TableAdapters.sp_inempleaveTableAdapter TA = new DataSet5TableAdapters.sp_i... | c# asp.net | [0, 9] |
113,647 | 113,648 | Asp.Net(C#) Jquery Ajax with WebMethod Call Problem | <p><strong>Code Behind:</strong></p>
<pre><code> [WebMethod]
public static string emp()
{
return "BlaBla";
}
</code></pre>
<p><strong>Aspx Page:</strong></p>
<pre><code>$(document).ready(function() {
$.get("TestPage.aspx/emp", null, function(data) {
ale... | asp.net jquery | [9, 5] |
5,568,820 | 5,568,821 | how to remove <p> , </p> and <br /> which are obtained by parsing JSON response | <p>I got JSON response from server parsing json response i got content which contains <code><p> </p></code> and <code><br /></code> how to replace all with blank or white space? </p>
| java android | [1, 4] |
2,008 | 2,009 | how to target certain time using jquery Countdown - http://keith-wood.name/countdown.html | <p>I am using these jQuery countdown - <a href="http://keith-wood.name/countdown.html" rel="nofollow">http://keith-wood.name/countdown.html</a>.</p>
<p>I'm trying to get it to countdown to 17:00 (5:00 PM) everyday but I cannot seem to set the time.</p>
<p>Any help welcomed.</p>
<p>The code I have is :-</p>
<pre><co... | javascript jquery | [3, 5] |
501,974 | 501,975 | how to do an operation when the .scroll i stopped | <p>I have put a scroll handler to my page :</p>
<pre><code>$(window).scroll(function() {
...
});
</code></pre>
<p>and I'd like to do some operation when i stop to scroll the bar, not when I'am scrolling it.</p>
<p>How can I do it?</p>
| javascript jquery | [3, 5] |
4,907,142 | 4,907,143 | Post Javascript variable to PHP | <p>I use Facebook JavaScript SDK.
I want to know how to post the Javascript variables to another page with GET or POST or any other way.
For example i have:</p>
<pre><code>userInfo = document.getElementById('user-info');
</code></pre>
<p>How to post it to new page ?</p>
<pre><code>location.href="http://www.walla.com... | php javascript | [2, 3] |
4,787,291 | 4,787,292 | Returning html of an element along with the element in jquery | <p>I have mark up like</p>
<pre><code><div id="div1">
<div id="div2">
blah blah
</div>
</div>
</code></pre>
<p>If I use $("#div1").html(), it returns the div#div2. But I want to get the complete html. i.e, along with div#div1. </p>
<p>Is there any way to do this?</p>
| javascript jquery | [3, 5] |
2,263,013 | 2,263,014 | Pass the value from popup window to parent window | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4075296/passing-parameters-to-popup-window">Passing parameters to popup window?</a> </p>
</blockquote>
<p>I created Parent window and when i click on button popup window will appear.In popup window two drop down... | javascript jquery | [3, 5] |
377,342 | 377,343 | How to generate a pop-up window if a user is not logged in? | <p>In an HTML page:</p>
<pre><code><a href="/files/getfile.php?name=abc.zip">file download</a>
</code></pre>
<p>in PHP script(getfile.php):</p>
<pre><code>if('notlogged')
{
echo 'please, loggin~'; //pop up, possible?
return false;
}
</code></pre>
<p>So my question is, When user click the anchor tag,... | php javascript | [2, 3] |
5,052,284 | 5,052,285 | ASP.NET Postbacks x jQuery: What are the cons and pros? | <p>I'll start some lab prototypes on some of our Web App pages. We use a lot of Postback, ViewState, UpdatePanels, ModalPopup Extenders, all the ASP.NET usual stuff. It's good enough for most cases. But I wanna push things further...</p>
<p>I've been playing around with jQuery for some time now. I know what's capable ... | c# jquery asp.net | [0, 5, 9] |
4,452,655 | 4,452,656 | Handling dynamically generated controls in asp.net | <p>What's the best way to handle data entered through dynamically generated controls in ASP.NET?</p>
<p>Currently, I have a group of controls that are generated in the Page_Load stage, and I need to access the data from them. It seems like it might be possible to just use a hidden field that's read and parsed on postb... | c# asp.net | [0, 9] |
3,469,557 | 3,469,558 | how can i use referenced libraries | <p>Hi I made one jar file with 3 classes.They work fine they are supporting file for getting HXM data.Now when i made jar i want to use it in my next project.I imported it and now it is in referenced libraries.But i can not find how can i use the libraries. in old project from i take the 3 .class file they have the pa... | java android | [1, 4] |
5,026,058 | 5,026,059 | Binding a treeview Dynamically and getting selected nodes | <p>I am trying to dynamically (i.e. via code) bind a directory to a asp.net Treeview control and once the data is bound and displayed to the user i want to get a list of nodes the select.</p>
<p>I have got the binding and displaying of checkboxes to work fine , but when i query the Treeview1.CheckedNodes it always ret... | c# asp.net | [0, 9] |
5,168,403 | 5,168,404 | if ($('#selector').length == 0) doesn't work in IE7 and IE8 | <p>Here is my jquery code:</p>
<pre><code>$(document).ready(function() {
if ($('#login').length == 0) {
$('#login').css('background', "url('/css/login-bg.gif') 2px center no-repeat");
}
if ($('#password').length == 0) {
$('#password').css('background', "url('/css/password-bg.gif') 2px cent... | javascript jquery | [3, 5] |
2,077,371 | 2,077,372 | Make the move to c++ from java? | <p>Ive been learning java for maybe 5 months, and for that whole time, i mostly tried making games. I made a halfway decent game with java2D, but I want to move on to bigger and better things... 3D. I began to learn LWJGL(which is basicly OpenGL). Before I get too deep into learning java, and going 3d with it, should I... | java c++ | [1, 6] |
3,296,089 | 3,296,090 | PHP cannot receive a String from Android | <p>The following code attempts to POST a String from Android to PHP.</p>
<ul>
<li>INTERNET permission is given.</li>
<li>Shark has been checked.</li>
<li>the device connects to MAMP (WAMP for MAC) server and sends the String.</li>
</ul>
<p>Code on Android:</p>
<pre><code>HttpClient httpclient = new DefaultHttpClient... | java php android | [1, 2, 4] |
5,138,158 | 5,138,159 | How can I get the height/offset of an element after it has 'skew' transform has been applied with JS/jQuery? | <p>Quite simply my question is as the title:</p>
<p>Is there any way to get the height of an element after it has had <code>transform:skew();</code> applied to it?</p>
<p>e.g. If the height of an element is 100px and the top offset is 500px pre-transform, after having a skew applied to it, the height may actually be ... | javascript jquery | [3, 5] |
1,706,169 | 1,706,170 | get the serverside control id in javascript in asp.net? | <p>I have asp:ImageButton in asp:table.
I want to get the id of button in javascript and I want to enabled the button based on conditon. How cloud I acheive.
I tried as below.</p>
<pre><code>var btn;
btn = document.getElementById('<%= generateRptbtn.ClientID%>').value;
btn.enabled = true;
</code></pre>
<p>But I... | javascript asp.net | [3, 9] |
1,026,053 | 1,026,054 | jquery load page with switch case | <p>it's me again!!</p>
<p>Now.. i don't know what i'm doing wrong with this Switch Case... can help me?</p>
<p>When i click in some LINK, the alert dont apear...</p>
<p>this is my HTML:</p>
<pre><code> <div class="menu-site">
<ul class="topo-menu" id="topo-menu">
<li id="aabruz... | javascript jquery | [3, 5] |
777 | 778 | What is the Python equivalent of PHP's set_time_limit()? | <p>I have a python script which is freezing (I think it stalls waiting for socket data somewhere), but I am having trouble getting a backtrace because the only way to stop it is to kill the process in. There is a timeout on the socket also, but it doesn't seem to work.</p>
<p>I am hoping that Python has a feature like... | php python | [2, 7] |
4,304,482 | 4,304,483 | How to change name attribute of a hidden field? | <p>I have a hidden field on my aspx page and I use masterpage.
Without using masterpage everything is fine and name attribute of hiddenfield is correct.</p>
<pre><code><asp:HiddenField ID="apiversion" ClientIDMode="Static" runat="server" />
</code></pre>
<p>After rendering, result html is;</p>
<pre><code><i... | c# asp.net | [0, 9] |
1,079,637 | 1,079,638 | What are some ideal ways to build a chat application? | <p>If I wanted to build a chat application that can chat with other users that are on the website and host chatrooms what would be some ideal ways? If there are some open source ones out there? If I build from scratch what should I use (i heard comet is good)? Thanks!</p>
| c# asp.net | [0, 9] |
4,429,560 | 4,429,561 | Values which are changed in Jquery, are not showing up on codebehind | <ul>
<li>ASP.NET 4</li>
<li>Jquery 1.7.1</li>
<li>Browser: IE9</li>
</ul>
<p>Hi</p>
<p>I am using jquery with a gridview control inside a UpdatePanel so, everytime I click on a row of the gridview Jquery edits the value of a HiddenField control, so when I need "the selected index", I just use the value of the HiddenF... | c# jquery asp.net | [0, 5, 9] |
5,910,309 | 5,910,310 | data import from excel facing an issue | <p>I am importing data from MS Excel.
The code i have written is,</p>
<pre><code>var ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=" +
uploadfile.PostedFile.FileName + ";" + "Extended Properties=Excel 12.0;";
OleDbConnection objConn = new OleDbConnection(sConnectionString);
objConn.Open()... | c# asp.net | [0, 9] |
763,880 | 763,881 | javascript/jquery- how to determine if a list/checkbox allows multiple values to be selected or not | <p>I am trying to parse through a typical form using jquery. I want to obtain all details about the various fields in the form- viz field name, field type (eg radio/checkbox/list)...</p>
<p>How do I determine if a field allows multiple values to be selected? (eg in check box or list box)?</p>
<p>If this cannot be don... | javascript jquery | [3, 5] |
2,196,985 | 2,196,986 | Message Alert Tone | <p>I am working on an App that gets sms alerts and would like to control volume of alert tone based on device volume. How do I adjust alert notification sound in alignment with device master volume. Following code doesn't change volume of alert in my app based on device volume. Thank you.</p>
<pre><code> volume = ... | java android | [1, 4] |
3,587,762 | 3,587,763 | javascript function that accepts (#id).val() returns wrong value | <p>I have a button with the id="kill".</p>
<p>Here is my JavaScript:</p>
<pre><code>$("#kill").click(function(){
getImage($(this).val());
});
function getImage(code){
var code,
imgstr;
imgstr="mypath/"+code+".png";
return imgstr;
}
</code></pre>
<p>Unfortunately, the wrong value is ge... | javascript jquery | [3, 5] |
1,857,166 | 1,857,167 | Android touchevent on view even with dialog in front | <p>I am making video playback controls. All my code is present to make it work and it does, except for one thing. When I touch the surfaceview the controls come up, but once they are up, my surfaceview no longer has focused and doesn't receive touch events. What I need is for the surface view to still get touch even... | java android | [1, 4] |
5,598,620 | 5,598,621 | Restarting countdown clock | <p>This is how it looks currently:</p>
<pre><code>final CountDownTimer countdown = new CountDownTimer(5000, 1000) {
public void onTick(long millisUntilFinished) {
clock.setText("Seconds Remaining: " + millisUntilFinished / 1000);
}
public void onFinish() {
qcount++;
if (qcou... | java android | [1, 4] |
2,797,723 | 2,797,724 | Jquery length of matched query | <p>How would I write both of these without using .each() and only using JQuery Selectors?</p>
<pre><code>var xxxx = 0;
$('.clonedInput').each(function(index) {
if($(this).children().filter(':checked').length == 2)
xxxx++;
});
var num_normal_foods = 0;
$('[id^="amount_"]').each(function(index) {
if($(this... | javascript jquery | [3, 5] |
955,049 | 955,050 | unhiding asp button onclick of the html button | <p>I have 2 buttons on my page. First one is a html button and the next is an asp button. Now i want to hide the asp button on page load and want to unhide the same on the onclick of the html button. Can anyone help me with this ??</p>
| javascript asp.net | [3, 9] |
5,531,384 | 5,531,385 | How to redirect the site according to browser language? | <p>I am having 2 site in different language on same domain, </p>
<p>Suppose, 2 language A and B, which run like below
A site run from "<a href="http://site.com" rel="nofollow">http://site.com</a>" (default site).
and
B site run from "<a href="http://sit.com/b/" rel="nofollow">http://sit.com/b/</a>"</p>
<p>if user br... | c# asp.net | [0, 9] |
1,369,734 | 1,369,735 | Tabs and content into Array | <p>I have two tabs like in this example:</p>
<pre><code><div id="tabs">
<ul>
<li><a href="#tabs-1">me</a></li>
<li><a href="#tabs-2">you</a></li>
</ul>
<div id="tabs-1">
<ul id="sortable1" class="connectedSortable ui-helper-reset">
<li ... | javascript jquery | [3, 5] |
3,949,927 | 3,949,928 | jQuery update form element | <p>I have a form that I create a checkbox on a click of a button. I am using <a href="https://github.com/pixelmatrix/uniform" rel="nofollow">https://github.com/pixelmatrix/uniform</a> which provides an update function to style dynamically create elements which does not work. I got a work around but my problem is that i... | javascript jquery | [3, 5] |
1,802,370 | 1,802,371 | write text to image | <p>I have uploaded an image, now i want to write text dynamically anywhere on the uploaded image.
I want that user should himself choose whre to write on the image and then save image with text written on it.</p>
| php javascript | [2, 3] |
639,641 | 639,642 | jquery not function miss element | <p>I use a tool-tip to display error message on the page, I need it to be closed when I click elsewhere within the view. I use the below codes to control this action:</p>
<pre><code>$(':not(.qtip)').click(function(){
$('.qtip').hide();
});
</code></pre>
<p>The ".qtip" is used for marking the tool-tip area. The too... | javascript jquery | [3, 5] |
3,374,020 | 3,374,021 | jquery extension return $.each confusion | <p>I am trying to use a jQuery extension I came across (<a href="http://handsontable.com/" rel="nofollow">handsontable</a>). I am having no problem creating the table</p>
<pre><code>var spreadsheet = $("#dataTable").handsontable({
rows: 3,
cols: 15,
minSpareRows: 2
});
</code></pre>... | javascript jquery | [3, 5] |
1,280,202 | 1,280,203 | Get real height of div plus css generated content (if possible) | <p>I'm trying to use javascript to give three ULs nested inside divs a negative top position equal to their height. I've got it working, sort of (thanks to help from here!) but instead of calculating the height of each nested UL and calculating the top position accordingly, each UL is being assigned a negative top posi... | javascript jquery | [3, 5] |
2,330,271 | 2,330,272 | how to limit the content to be shown on a page? | <p>I'm making a page which shows data, which is quite enormous.Tried pagination on it but didn't work the way I wanted. I'm looking for, something like "See more results", which on clicking will increase size of the page. Further, is it possible to do it with some limit on content to be shown on every click, like on ev... | php javascript jquery | [2, 3, 5] |
3,726,944 | 3,726,945 | JavaScript Postback on condition | <p>I need help with the javascript below please. I have 2 text boxes and 1 button on my form. What I would like to happen is if User enters a value in textbox one and not textbox two, then event need not be fired. However, if there is a value in textbox one and then textbox 2 then I want a post back to fire. My code be... | asp.net javascript | [9, 3] |
3,447,761 | 3,447,762 | Global variable in javascript not working properly | <p>I have an iframe issue ( little bit strange for me ) . The issue is that i have an iframe in my document, and there are several functions are operating different task on that iframe and for accessing the contents of iframe we use :</p>
<pre><code>$("iframe").contents();
</code></pre>
<p>So instead of writing this ... | javascript jquery | [3, 5] |
5,875,474 | 5,875,475 | How can I write this jQuery statement shorter? | <p>I have this code. This works perfect but I just wanna know if it's possible to write it shorter or not? I looked at jQuery <a href="http://api.jquery.com/hasClass/" rel="nofollow">hasClass()</a> docs but didn't find anything useful.</p>
<pre><code>$(this).hasClass('nw')
?'nw'
:$(this).hasClass('ne')
... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.