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 |
|---|---|---|---|---|---|
39,865 | 39,866 | How can I get the index of non-sibling elements in jquery? | <p>HTML:</p>
<pre><code><ul>
<li>Help</li>
<li>me</li>
<li>Stack</li>
<li>Overflow!</li>
</ul>
<br>
<ul>
<li>Can</li>
<li>I</li>
<li>connect</li>
<li>these?</li>
<... | javascript jquery | [3, 5] |
2,807,421 | 2,807,422 | local variable performance in Javascript vs C# | <p>My Javascript code here. Instead of everytime trying to access document which is global context we made it to activation object. So that we can improve our read/write performance.</p>
<pre><code>function initUI(){
var doc = document,
bd = doc.body,
links = doc.getElementsByTagName("a... | c# javascript | [0, 3] |
5,381,847 | 5,381,848 | jquery manipulate html | <p>my dynamic generated html look like below</p>
<pre><code><ul class="missingList">
<li>Please select at least one answer</li>
<li>Please select at least one answer</li>
<li>Please select at least one answer</li>
<li>Please select at least one answer</li>
<li&g... | javascript jquery | [3, 5] |
234,613 | 234,614 | how to refresh parent window by using Javascript in .cs | <p>How to refresh the parent window while closing the popup window(child window).</p>
<p>We are calling the java script functions in code behind to refresh the parent window by using page.ClientScript.RegisterStartupScript().But t is working fine in IE(internet explorer) but not working in Mozilla Firefox and Google C... | c# javascript asp.net | [0, 3, 9] |
1,088,602 | 1,088,603 | Issue with Popup | <p>I am using a window.open() in a hyperlink to open a popup in my page. I have a folder structure like </p>
<pre><code> parent
Controls
Reports
reportviewer.aspx
Search.aspx
</code></pre>
<p>form search.aspx i need to open reportviewer.aspx in a popup(javascript) .How to achive this ?How to... | c# asp.net | [0, 9] |
431,914 | 431,915 | how to put a logo in a jquery dialog box | <p>I want to put a logo in a jquery dialog box at left side of the title window(e.g mozilla firefox logo in FF). How can it be achieved?</p>
| javascript jquery | [3, 5] |
2,609,261 | 2,609,262 | android where to create application data directories | <p>I am an iOS programmer and trying to migrate an app to Android. I need to create application directories to handle some files. iOS has reserved a folder for each app called documents directory but where is used to create directories to handle data on android? SD card, flash or root? Thank you</p>
| java android | [1, 4] |
1,978,621 | 1,978,622 | Secure HttpWebRequest so I can send credentials possible? | <p>I have the following code which connects to my php server and retrieves data from it. The only thing is, I need to send the username and password securely from this webrequest to the PHP server. Looking at the docs for the webrequest class, there is a credentials property as well as a preauthenticate property. I'm a... | c# asp.net | [0, 9] |
3,438,976 | 3,438,977 | jQuery input field format into XX-XX-XX | <p>I couldn't find a plugin suitable for this.
I want to be able to format the way the user would be able to input in the field.</p>
<pre><code>XX-XX-XX
</code></pre>
<p>Where X is any digits from 0-9</p>
| javascript jquery | [3, 5] |
5,201,946 | 5,201,947 | Defined function is not found | <p>I have this function which is called in a for loop. </p>
<pre><code> function printResult(name, i) {
$('#list').append("<a href='#' onClick='goto(" + i + ");' class='item'><H1>" + name + "</H1> </a>");
}
</code></pre>
<p>The a href-tags are appended as they should, but when I call ... | javascript jquery | [3, 5] |
3,697,985 | 3,697,986 | php and javascript cookie | <p>why php get cookie new value only when i refresh page twice.
When run page first time, php do not get cookie value.</p>
<p>Thanks</p>
<pre><code><script type="text/javascript">
var name = 'test1';
var value = '1234';
var expirydays = '1';
expiry = new Date();
expiry.setDate(expiry.getDate() + expirydays);
d... | php javascript | [2, 3] |
3,486,248 | 3,486,249 | ASP.NET server and PHP? | <p>I wanted to know, is a server that supports ASP.NET and PHP on the same box common? wordpress/mediaWiki/phpBB3 seem like a nice combo but i am developing a ASP.NET project.</p>
| php asp.net | [2, 9] |
1,737,196 | 1,737,197 | How to detect the existence of an element in javascript? | <pre><code>var newHead = '<div id="head'+text+'"></div>';
var header = "head"+text;
if (document.getElementById(header) == undefined) {
//alert(document.getElementById("head"+text));
$("#result-job").append(newHead);
var result = '<div id="div' + dataSplit[0] + '"><input typ... | javascript jquery | [3, 5] |
4,373,408 | 4,373,409 | How do I prevent Incoming calls from closing my program? | <p>I have an Android application in java, and I don't want my application to close whenever I recieve an Incoming Call.</p>
<p>Does anyone know of a way to prevent incoming calls from closing my application in java?</p>
| java android | [1, 4] |
5,601,235 | 5,601,236 | get current page in C# | <p>For instance if I have <a href="http://www.mywebsite.com/about.aspx" rel="nofollow">http://www.mywebsite.com/about.aspx</a>. Store about.aspx (or whatever page we're on) in a variable. Also need this to work even if there is information after the page in the url such as a query string.</p>
| c# asp.net | [0, 9] |
2,661,565 | 2,661,566 | text inside li element | <p>im printing out unordered lists dynamically..something like this</p>
<pre><code>$sql2 = mysql_query("SELECT id, todo FROM todo");
while($row = mysql_fetch_array($sql2))
{
$todo1 = $row["todo"];
$todofeed.='
<ul>
<li>' . $todo1 . '</li>
</ul>
';
}
</code></pr... | php javascript jquery | [2, 3, 5] |
2,435,676 | 2,435,677 | Access element, which contains current <script> | <p>I've got following page:</p>
<pre><code><div><script>AddSomeContent(??, 1)</script></div>
<div><script>AddSomeContent(??, 2)</script></div>
</code></pre>
<p>I need to replace the <code>??</code> with the surrounding <code><div></code> DOM object, so the functio... | javascript jquery | [3, 5] |
4,128,425 | 4,128,426 | setInterval works online on same sytem (with 2 browsers open) but not online on separate systems | <p>I have a setinterval code updating a div. This works fine when tested in two separate browsers on the same system but when I test online on say a separate mac and PC and it stops. </p>
<p>The code is as follows:-</p>
<p>Javascript:</p>
<pre><code> function setupAjaxIntervalDiscuss(){
setInterval(function()... | php javascript jquery | [2, 3, 5] |
5,167,507 | 5,167,508 | How can i access server controls from my external JavaScript file? | <p>When i use this <code>"#<%= txtNumberOfDrugsInKit.ClientID %>"</code>, i can access the server control from my JQuery script; but when i put this in an external script file, it does not work.</p>
<p>How can i access an asp textbox from my external JavaScript file? I cant believe this is not working.</p>
| asp.net javascript jquery | [9, 3, 5] |
1,668,748 | 1,668,749 | class and interface | <p>I wonder 3 things.</p>
<p>1: If I have implemented an interface (with a method) in a superclass where im declaring that method, and then I extend that superclass in another class. Then I don't have to redeclare that method right?</p>
<p>2: But if I don't declare that method in the superclass but in the child class... | java php | [1, 2] |
3,662,203 | 3,662,204 | How can I change the href of an anchor after it has been clicked? | <p>I have a page that pulls in data via AJAX. As well as this I have a link to download said data as a CSV file.</p>
<p>The problem I have is that upon I need to pass some parameters along with the click event so that the server can return the correct CSV file.</p>
<p>Without any processing the link looks like this:<... | javascript jquery | [3, 5] |
3,854,726 | 3,854,727 | How to fetch data from database in jquery file | <p>I have a js file that is using an image array . in that array there is name of images that are to be used on client side page. I want that image name from database. I am using asp.net technology. Please help me out.</p>
| javascript jquery asp.net | [3, 5, 9] |
1,219,115 | 1,219,116 | Error: jQuery.imageMagnify is undefined Source File | <p>Iam getting a js error as " Error: jQuery.imageMagnify is undefined
Source File: file:///C:/Users/SS/Desktop/doing/jquery.magnifier.js
Line: 85"</p>
<p>Please help me to solve it.</p>
| javascript jquery | [3, 5] |
1,831,283 | 1,831,284 | get text area and text field data - jquery | <p>I have 2 text areas in my page as;</p>
<pre><code><input type="text" id="a1"/>
<textarea id="b2"></textarea>
<a id="button">button</a>
</code></pre>
<p>When user click the button link, I want to <code>alert</code> the data entered in <code>a1</code> and <code>b2</code>.</p>
<p>How ca... | javascript jquery | [3, 5] |
3,712,972 | 3,712,973 | How to display a message on the first press of a button? | <p>I need to display the message with first time the button is pressed only. If I press the button again, it will redirect me. How to do in javascript? </p>
<p>I have submit button, first time press button it will show the message. Pressing the same button the next time should NEVER SHOW the message, it should forward... | javascript jquery | [3, 5] |
176,241 | 176,242 | jQuery.inArray not behaving as expected | <p>I'm trying to loop through a list of numbers and check if that number is part of another list of numbers using jQuery.each and jQuery.inArray. jQuery.inArray does not seem to be behaving as expected.</p>
<p>Here is my code:</p>
<pre><code>var some_numbers = [1, 2];
var more_numbers = [0, 1, 2];
$.each(more_number... | javascript jquery | [3, 5] |
476,746 | 476,747 | Gridview export to excel not working in google chrome | <pre><code>private void ExportGrid(GridView grdReport)
{
if (grdReport.Rows.Count > 0)
{
grdReport.HeaderStyle.BackColor = Color.Gray;
grdReport.HeaderStyle.ForeColor = Color.White;
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
... | c# asp.net | [0, 9] |
2,682,822 | 2,682,823 | Select input appened to page | <p>I have an input field that is appended to a div tag through a location.href reload. How would select that input field using jQuery? If I add it to the page it won't work, I'm assuming because the input isn't loaded into the DOM yet. </p>
<pre><code>$('#fileName1').focus(function() {
alert('Handler for .focus()... | javascript jquery | [3, 5] |
2,793,444 | 2,793,445 | How can I validate that several textboxes contain data when I click submit? | <p>I have 10 defined textboxes with strings.</p>
<p>I have to check all if they are not empty while clicking ok button</p>
<p>whats the cleanest way to check them all and when function is at end. each checkbox which was empty to give this a specific CSSclass. perhaps. ClassError. ( which highlights red) </p>
<p>I'm ... | c# asp.net | [0, 9] |
1,328,597 | 1,328,598 | why does location.reload() break my $.post? | <p>I have a select element, that posts (just fine) when changed using $.post. But if I want to reload the page, and add a <code>location.reload()</code> then it doesn't post. If I remove the line, it posts fine. Any ideas?</p>
<pre><code> <script type="text/javascript">
$('#target').change(funct... | javascript jquery | [3, 5] |
6,020,673 | 6,020,674 | prevent click event from element but not from <a> children | <p>my code looks like this:</p>
<pre><code><div class="disabledClickevent">
<ul>
<li><a>link1</a></li>
<li><a>link2</a></li>
</ul>
</div>
</code></pre>
<p>the div has a click event that gets disabled with <code>return false;</code>
my... | javascript jquery | [3, 5] |
4,716,929 | 4,716,930 | Javascript / jQuery: How do I remove a range of numbered classes? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/57812/remove-all-classes-that-begin-with-a-certain-string">Remove all classes that begin with a certain string</a> </p>
</blockquote>
<p>I have a script which adds one of six classes randomly to the body. The cl... | javascript jquery | [3, 5] |
1,066,259 | 1,066,260 | javascript onclick event binding | <p>I have my script here,</p>
<pre><code> <script type='javascript'>
$(LastRow).find('#delete').attr('onclick','Comment_Delete(event,'+cID+')')
</script>
<input type="image" id="delete" border="0" src="../Resource/images/commentcross.jpg";" style="border-width:0px;">
</code></pre>
<p>i want contro... | javascript jquery | [3, 5] |
2,020,129 | 2,020,130 | function for each element | <p>Ive got a function:</p>
<pre><code>setInterval ( doSomething, 100 );
function doSomething ( )
{
$("#i_msl").animate({ top: "-150px",}, 1000 ).delay(1000);
$("#i_msl").animate({ top: "-300px",}, 1000 ).delay(1000);
$("#i_msl").animate({ top: "0px",}, 1000 ).delay(1000);
}
</code></pre>
<p>but it works only for o... | javascript jquery | [3, 5] |
832,690 | 832,691 | R.Java not showing up | <p>I've tried everything i can think of and i still can't get the R.java file to show up.
It's supposed to be in the "gen" folder in eclipse when i create a new project i believe.</p>
<p>I tried the following:</p>
<ol>
<li><p>I went to Project > Clean... </p></li>
<li><p>I heard that there might be issues in the xml... | java android | [1, 4] |
50,390 | 50,391 | drag and drop listview in android | <p>Im using CursorAdapter in my Listview for direct mapping of data to the database. my problem is when im creating a drag and drop listview. How to drag and drop items in Listview for reordering in android? </p>
| java android | [1, 4] |
591,426 | 591,427 | jquery equivalent of javascript onclick(this.form) | <p>I currently have something like this:</p>
<pre><code><form action="cart.php?action=update" method="post" name="cart" id="cart">
<input maxlength="3" value="25" onKeyup="chk_me(this.form)" />
etc..
</form>
</code></pre>
<p>The onKeyup event executes/calls the chk_me function with this.form as its... | javascript jquery | [3, 5] |
2,935,612 | 2,935,613 | Is Dialog.show() a non-blocking method? | <p>I've got a button that kicks off a background thread to do some work and I am trying to use a ProgressDialog to prevent the user from double clicking that button (or any other ui elements) while that work is being done. The first thing I do in my buttons onClick code is to display the progress dialog, which takes o... | java android | [1, 4] |
818,575 | 818,576 | asp.net url generation with name and id | <pre><code>test.Controls.Add(GetButton(thisReader["session_id"].ToString(), "Join Session"));
</code></pre>
<p>I have changed the above code to the one below to</p>
<pre><code>test.Controls.Add(GetButton(thisReader["session_name"].ToString(), "Join Session"));
</code></pre>
<p>I did this because i wanted to have my ... | javascript asp.net | [3, 9] |
3,143,981 | 3,143,982 | Android - Internet Activity doesn't cease after app closes | <p>QA Keeps reporting a bug where after closing the app internet activity is still going. We stream video. They say after the app closes, the streaming doesn't stop because the network activity icon on the top status bar remains on for a minute after the app closes. I have checked all my streams and logs and there i... | java android | [1, 4] |
2,825,635 | 2,825,636 | Senior WinForms developer with no ASP experience - legitimate chance at a Senior ASP.NET position? | <p>I would like to know from those in hiring roles and in senior ASP.NET roles, would you seriously consider a person like myself for a senior ASP.NET role?</p>
<p>A bit about myself: I am seriously considering a switch from WinForms to ASP.NET. There just do not seem to be many positions for desktop application deve... | c# asp.net | [0, 9] |
862,922 | 862,923 | Duplicating filename issue | <p>I have a web page in which different user account can be created and the files created for individual user will be diaplayed in the gridview. That is, The files created by abc will be displayed in gridview when abc logs in. Whenever a user creates a file, these files are stored in a folder so that whenever the user ... | c# asp.net | [0, 9] |
2,740,671 | 2,740,672 | How does jQuery use namespace to avoid conflict with other 3rd JavaScript library? | <p>I have gone through the jQuery Source Code, but I cannot find how jQuery implement the namespace functionality?</p>
| javascript jquery | [3, 5] |
4,688,341 | 4,688,342 | How important is it to learn jQuery with ASP.NET | <p>I'm reading a chapter on jQuery in a ASP.NET book. To be honest I'm finding it quite boring.</p>
<p>How important is it to learn jQuery? And do many ASP.NET developers use it for their pages?</p>
<p>Regards
TDG</p>
| asp.net jquery | [9, 5] |
5,644,929 | 5,644,930 | Don't call second click event after first has returned false | <p>I'm having an issue with a pop-up menu. I basically have 2 click events, one is for opening a menu, which returns <code>false</code> if a particular button is clicked and the other click event is on the <code>document</code> and meant to close the menu if someone clicks anywhere on the page but the menu.</p>
<p>In ... | javascript jquery | [3, 5] |
4,980,780 | 4,980,781 | Android Drag / Animation | <p>I want to make a page where you can drag an image (and play a little animation)</p>
<p>so i'm doing something (and i think it's not ideal - so i need your help):</p>
<p>my code:</p>
<pre><code>ButtonIMG = BitmapFactory.decodeResource(getResources(), R.drawable.ButtonIMG );
Canvas c = null;
while (true) {
if (... | java android | [1, 4] |
5,157,865 | 5,157,866 | ASP.NET document.getElementById('<%=Control.ClientID%>'); returns null | <p>I'm trying to retrieve a server control in JavaScript. For testing purposes I am calling the JavaScript function from the page load event.</p>
<pre><code>protected void Page_Load(object sender, EventArgs e){
ClientScript.RegisterClientScriptBlock(GetType(), "js", "confirmCallBack();", true);
}
</code></pre>
<p... | javascript asp.net | [3, 9] |
3,641,206 | 3,641,207 | jQuery - Dynamically Create Button and Attach Event Handler | <p>I would like to dynamically add a button control to a table using jQuery and attach a click event handler. I tried the following, without success:</p>
<pre><code>$("#myButton").click(function () {
var test = $('<button>Test</button>').click(function () {
alert('hi');
});
$("#nodeAtt... | javascript jquery | [3, 5] |
6,018,024 | 6,018,025 | What does this for loop do? | <pre><code>for (var i = RegData.length - 1; i >= 0; i--){
var row = Titanium.UI.createTableViewRow();
var title = Titanium.UI.createLabel({
text:RegData[i].title,
font:{fontSize:14,fontWeight:'bold'},
width:'auto',
top:2,
textAlign:'left',
left:2,
height:16
});
</code></pre>
<p>I wan... | javascript android | [3, 4] |
4,104,263 | 4,104,264 | Setting up a website to sync data with android phone | <p>I am writing an android application that requires a large amount of bandwith to collect data and then process this data. doing this induvidually on each phone would be quite a waste.(I have the code already and it works as a standalone java application). So i decided to upload this data onto a website and let the us... | java android | [1, 4] |
1,376,419 | 1,376,420 | Reading files inside a APK | <p>I am having an android application that is using an external jar that
has in addition to regular classes an html file.</p>
<p>Meaning my final apk root directory looks something like this </p>
<ul>
<li>assests </li>
<li>res</li>
<li>AndroidManifest.xml</li>
<li>classes.dex</li>
<li>resources.arsc</li>
<li>hellow... | java android | [1, 4] |
2,774,594 | 2,774,595 | how to send multiple check box item lists to class | <p>I wanted to send all the selected checkbox items to the class how do i send it.if i use <code>check1.selectedvalue/item</code> it sends only one.so how do i do this</p>
<pre><code>protected void check1_SelectedIndexChanged(object sender, EventArgs e)
{
for (int z = 0; z < check1.Items.Count; z++)
{
i... | c# asp.net | [0, 9] |
5,547,616 | 5,547,617 | Error calling getResources().openRawResource() | <p>I have to read a file called <code>hello.txt</code> using the following code on java/eclipse/android:</p>
<pre><code>import java.io.InputStream;
public class Tokenirzer {
public String ReadPath () {
InputStream inputStream = getResources().openRawResource(R.raw.hello);
}
}
</code></pre>
<p>Howeve... | java android | [1, 4] |
3,025,885 | 3,025,886 | A working example of how to use cookie.js | <p>I was wondering if you could help/show me how to use cookie.js for my example I have been stressing trying to figure this out. I must saty in advance that I am new to programming full stop so I I humble and would love a plain example of how to use cookie.js</p>
<p>I wish to maintain the same state on my sub menu di... | javascript jquery | [3, 5] |
2,537,367 | 2,537,368 | Getting error: "Control Collection Can Not Be Modified" | <p>Hi i am initially using this code but now when i am debuging this code i am getting error ..</p>
<p>"The Controls collection cannot be modified because the control contains code blocks "</p>
<p>my code is:</p>
<pre><code>for (int m = 0; m < dtGroupedByDate.Rows.Count; m++)
{
Label Date = new Label();
D... | c# asp.net | [0, 9] |
1,731,638 | 1,731,639 | android screens | <p>I want to create an application under ANDROID, but there are many different views. How many screen resolutions for ANDROID devices?</p>
<p>example code:</p>
<pre><code>class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
</code></pre>
| java android | [1, 4] |
2,114,790 | 2,114,791 | Troubles with creating jQuery animation sequence | <p>I am trying to execute an animation sequence on progress bars:</p>
<pre><code>function animateProgress() {
var params = [{from: 50, to: 100}, {from: 0, to: 100}, {from: 0, to: 50}];
animateProgressStep(params, 0);
}
function animateProgressStep(params, i) {
$(".progress").width(params[i].from).animate... | javascript jquery | [3, 5] |
3,594,761 | 3,594,762 | syntax highlighter | <p>hello i'm looking a dynamic syntax highlighter for PHP.</p>
<p>I'm not looking a highlighter to highlight a code snippet. looking a dynamic highlighter that highlights the code as i type.</p>
<p>**</p>
<p>I need this feature for online editor. (actually for the text-area element in a posting form.)</p>
<p>**</p>... | javascript jquery | [3, 5] |
47,622 | 47,623 | Convert php array_sum to java | <pre><code>$a = array(2, 4, 6, 8);
echo "sum(a) = " . array_sum($a) . "\n"; //==20
</code></pre>
<p>how i can do this in java?</p>
| java php | [1, 2] |
2,638,785 | 2,638,786 | PageRedirect to previous Page? | <p>I have a page(A) that has a popup. When the link in the popup is clicked, it takes you to page B. Page B has a Submit and cancel button. Cancel button should get me back to Page A. How is it possible with javascript or Asp.net?? </p>
<p>Thank you in advance!!</p>
| c# javascript asp.net | [0, 3, 9] |
635,134 | 635,135 | How can I test whether input has focus in an if structure? | <p>I've got this code here now, but the alerts still come up after you click on the input, when it doesn't have focus. I would like to get rid of the click function too, if possible, so that it only alerts when the input has focus.</p>
<pre><code>$('#inputSize').click(function(){
if ($('#inputSize').is(':focus')){... | javascript jquery | [3, 5] |
1,918,738 | 1,918,739 | dropdwnlist autopostback not working | <p>dropdwnlist autopostback not working
my code as follows:</p>
<pre><code><asp:DropDownList ID="ddlState" runat="server" Width="200px" AutoPostBack="true" onselectedindexchanged="ddlState_SelectedIndexChanged" >
<%-- <asp:ListItem Selected="True">--Select--</asp:ListItem>--%>
</asp:Dro... | c# asp.net | [0, 9] |
1,789,273 | 1,789,274 | How can I assign an HTML5 data value to an element? | <p>I have the following code:</p>
<pre><code> $.modal({
title: title,
closeButton: true,
content: content,
complete: function () {
applyTemplateSetup();
$('#main-form').updateTabs();
... | javascript jquery | [3, 5] |
2,866,128 | 2,866,129 | c# convert `List<string>` to comma-separated string | <p>Is there a fast way to convert <code>List<string></code> to a comma-separated <code>string</code> in C#?</p>
<p>I do it like this but Maybe there is a faster or more efficient way?</p>
<pre><code>List<string> ls = new List<string>();
ls.Add("one");
ls.Add("two");
string type = string.Join(",", ls... | c# asp.net | [0, 9] |
2,093,254 | 2,093,255 | for each function jquery | <p>i have a toggle function which i have working fine, only i cant get it to work for each element on the page.</p>
<p>my current function is</p>
<pre><code>$(".tog").click(function() {
$("#shortinfo").toggle();
$('#shortinfo').toggleClass('open');
return false;
... | javascript jquery | [3, 5] |
1,218,056 | 1,218,057 | how to attach/extend methods to dom element | <p>Having this html:</p>
<pre><code><div id='hi1'> aaa </div>
</code></pre>
<p>When doing:</p>
<pre><code>$('#hi1').sayHi();
</code></pre>
<p>I would like to get an alert saying 'hi'</p>
<p>anybody knows how this is done ?</p>
| javascript jquery | [3, 5] |
1,660,626 | 1,660,627 | how to show thumbnail of friends by using usercontrol in asp.net. | <p>i am working on my project and am not able to show thumbnail in 3*3 order.I have used one User control (image,URL).so its will look just like friends in my list and when i will click on any one friend the profile of that particular friend should be displayed. </p>
| c# asp.net | [0, 9] |
2,908,368 | 2,908,369 | Please tell me how to get zclip work | <p>can anyone provide me a example of a jQuery Zclip. <a href="http://www.steamdev.com/zclip/" rel="nofollow">http://www.steamdev.com/zclip/</a></p>
<p>I tried the demo they have given. but seems i cant get it to work. Thanks.</p>
| php javascript jquery | [2, 3, 5] |
5,166,774 | 5,166,775 | How to handle StreamReader? | <p>I use StreamReader to read my csv file.
The problem is : i need to read this file twice, and in second time then i use StreamReader
StreamReader.EndOfStream is true and reading not executed.</p>
<pre><code>using (var csvReader = new StreamReader(file.InputStream))
{
string inputLine = "... | c# asp.net | [0, 9] |
1,714,335 | 1,714,336 | Problem making request to server with Jquery | <p>I have a problem making a request to a server
My simple code is:</p>
<pre><code><html>
<head>
<script type="text/javascript" src="/Users/t/Desktop/App/etc.../jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/Users/t/Desktop/App/etc.../json_parse.js"></script>
&... | javascript jquery | [3, 5] |
3,224,851 | 3,224,852 | Detaching/Opening an iFrame into a New Window - How? | <p>I have an iframe setup within a page and basically want to know whether it's possible to have a button in this iframe and when pressed, opens the iframe into a new browser window, showing the contents of the iframe.</p>
<p>If possible, would really appreciate any help using either javascript or jQuery on how to ach... | javascript jquery | [3, 5] |
2,642,674 | 2,642,675 | jquery and/or javascript simplest issue (but can't figure it out) | <p>The following line works i.e. radioClicks function gets called.</p>
<pre><code>$("input:[name='"+54464+"']").bind( "click", radioClicks );
</code></pre>
<p>but this one doesn't:</p>
<pre><code>$("input:[name='"+options.rowId+"']").bind( "click", radioClicks );
</code></pre>
<p>and yes, you have guessed it, opti... | javascript jquery | [3, 5] |
1,356,207 | 1,356,208 | "too much recursion" error with live handlers in jQuery 1.3.2 | <p>This question is similar to <a href="http://stackoverflow.com/questions/639862/too-much-recursion-error-in-jquery-1-3-2">my last question about "too much recursion" errors in jQuery</a>, but involving live handlers. I have one element within another. Both of them have custom event handlers with the same name. The ou... | javascript jquery | [3, 5] |
726,160 | 726,161 | event.pageX and event.pageY undefined in IE7 | <p>This is the onclick listener inside an a tag</p>
<pre><code>onclick="showMap('change-img-box',event); return false;"
</code></pre>
<p>This is the jquery</p>
<pre><code>function showMap(id,e){
var hpos = e.pageX, ypos = e.pageY; alert(hpos+'----'+ypos);
if($("#"+id).is(":visible")){
$("#"+id).hide();
}else{
... | javascript jquery | [3, 5] |
5,924,036 | 5,924,037 | JQuery - CSS Editor? Is there one? | <p>Is there a JQuery plugin that has a css editor? What I mean is something like this:</p>
<p><a href="http://www.cssportal.com/css-style-editor/" rel="nofollow">http://www.cssportal.com/css-style-editor/</a></p>
<p>Kind of like the dreamweaver style editor.</p>
<p>If there isn't something like this, Its probably no... | javascript jquery | [3, 5] |
5,781,325 | 5,781,326 | Preventing list items from displaying whilst overlay images load | <p>I have created 6 divs .box that contain an unordered list and images with the images being absolutely positioned above each list. Is there a way I can make sure the content under the image isnt revealed whilst the content boxes fade in?</p>
<p><a href="http://jsfiddle.net/NKFgC/" rel="nofollow">http://jsfiddle.net/... | javascript jquery | [3, 5] |
1,107,839 | 1,107,840 | about Speed: Python VS Java | <p>Just curious about speed of Python and Java..
Intuitively, Python should be much slower than java, but I want to know more...Could anybody give me more? or introduce some nice post to read?</p>
| java python | [1, 7] |
1,657,272 | 1,657,273 | Ajax calls to HTTPS. Android PhoneGap XHR status=0 | <p>I want to make AJAX calls to HTTPS from HTTP, but have <code>XHR.status=0</code>.</p>
<p>I use following code to make the call:</p>
<pre><code> $j.ajax({
type: method || "GET",
async: this.asyncAjax,
url: url,
contentType: 'application/json',
cache: false,
processD... | javascript android | [3, 4] |
5,918,782 | 5,918,783 | Getting selected value from RadioButtonList | <p>New to ASP.NET(C#)...</p>
<p>I have a RadioButtonList on my page that is populated via DataBinding</p>
<pre><code><asp:RadioButtonList ID="rb" runat="server">
</asp:RadioButtonList>
<asp:Button Text="Submit" OnClick="submit" runat="server" />
</code></pre>
<p>How do I get the value of the radio ... | c# asp.net | [0, 9] |
4,233,853 | 4,233,854 | Running a libraby for fuzzy logic classification (jfuzzylogic) on Android? | <p>I have implemented code that classifies hand gestures into the correct corresponding letters and words as a Java application.</p>
<p>What am trying to do now is to implement my classification algorithm on android so that i am able to classify these gestures by processing the input data on my Android device.</p>
<p... | java android | [1, 4] |
3,925,060 | 3,925,061 | Im trying to create an excel file....but while running on the server the following error comes | <p>Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. </p>
<p>To free disk space, delete files you no longer need from the disk you are saving to.</p>
<p>any idea why???</p>
| c# asp.net | [0, 9] |
4,670,308 | 4,670,309 | Javascript script tags inside JQuery .html function | <p>Quick question is it possible to get javascript script tags inside JQuery .html function?</p>
<pre><code>function pleaseWork(){
$('#content').html('<h3 style="color:#335c91">This is the header</h3><div class="holder"><script type="text/javascript" src="javascriptFile.js"></script>&... | javascript jquery | [3, 5] |
4,105,667 | 4,105,668 | If ID has class, set attribute of another element | <p>I'm trying to detect if a class is present and, if so, set the background attribute of another element. This is what I have but it's not working.</p>
<pre><code>if(jQuery("#slider-banner").hasClass('living-nutrients'))
{
jQuery("#home-middle-first").css("background-image","[path to new background image]... | javascript jquery | [3, 5] |
392,473 | 392,474 | Delete text and other elements before and after the element | <p>I need to delete everything (text and other elements) before and after the element <code><a></code> with value class <code>chatlink</code>.
All this, within each element <code><div></code> with value class <code>main</code>.</p>
<p><strong>But only if <code><div></code> element with the value <cod... | javascript jquery | [3, 5] |
4,202,274 | 4,202,275 | how to darw the image faster in canvas | <p>I am capturing mobile snapshot(android) through monkeyrunner and with the help of some python script(i.e. for socket connection),i made it to display in an html page.but there is some time delay between the image i saw on my browser and that one on the android device.how can i synchronise these things so that the mo... | javascript python | [3, 7] |
5,542,593 | 5,542,594 | jQuery post works on load, but not on click | <p>I first implemented the following snippet to show a "hi" alert and do a jQuery post at "document ready". This first step worked fine. I then added a couple of lines to execute the block only on-click of a tag.
Now the "hi" alert works as expected (only after I click on the link), however the post returns an 'error... | javascript jquery | [3, 5] |
5,149,983 | 5,149,984 | How do I use the ActionBar on older versions of Android? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6031774/what-is-the-equivalent-of-actionbar-in-earlier-sdk-versions">What is the equivalent of ActionBar in earlier sdk versions?</a> </p>
</blockquote>
<p>If I'm not mistaken, the Android guidelines say you sho... | java android | [1, 4] |
4,850,542 | 4,850,543 | how to copy a Select input and append it to a div in Jquery | <p>i have a Select input and it's name is "item" for example </p>
<pre><code><select name="item">
<option value="1">1</option>
<option value="2" selected="selected">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</code></pre>
... | javascript jquery | [3, 5] |
3,165,293 | 3,165,294 | onload callback on image not called in ie8 | <p>I'm trying to preload image and set the height and width to a container.</p>
<p>The problem seems to be with caching in ie8 since it fails to load on subsequent refreshes.</p>
<p>I've looked up and tried multiple solutions but seems nothing is working, at least not consistently.</p>
<p>current Javascript:</p>
<p... | javascript jquery | [3, 5] |
3,469,256 | 3,469,257 | running logcat on Eclipse | <p>I searched through whole internet but I still don't understand how I need to set up logCat what it would run. Could someone help with this? </p>
| java android | [1, 4] |
4,144,862 | 4,144,863 | Recommend a Java / Android Game Library - card, board, etc.? | <p>My dev team and I are looking to do a game in Android, instead of iPhone for our next sprint iteration. We've been tweaking with <a href="http://bitbucket.org/snej/geekgameboard/" rel="nofollow">GeekGameBoard</a> (which we love), and I was wondering if anyone could recommend a similar game library for Java / Android... | java android | [1, 4] |
5,690,708 | 5,690,709 | How to check for correct url | <p>I am working on a current web app and we would like to determine if the page being requested is correct or not, we do this in a <code>Global.asax</code> on the <code>Application_BeginRequest</code> method, we check for the urls such as if someone enters <code>http://mywebtest/badurl</code> then we send them to a cus... | c# asp.net | [0, 9] |
1,207,186 | 1,207,187 | HttpContext.Current.Session.IsNewSession still true after redirect | <p>I am trying to redirect to the same page with different query string parameters</p>
<pre><code>HttpResponse resp = HttpContext.Current.Response;
resp.Redirect(landingPagePath)
</code></pre>
<p>To avoid further processing after redirection i check if </p>
<pre><code>HttpContext.Current.Session.IsNewSession == fal... | c# asp.net | [0, 9] |
4,480,380 | 4,480,381 | tagName is null or not an object -- error msg in IE7 using latest version of jQuery (1.2.6) | <p>has anyone else seen this error message. a quick check with google doesn't show me much.</p>
| asp.net javascript jquery | [9, 3, 5] |
5,696,717 | 5,696,718 | jQuery .fn is saying "not a function" | <p>When I call this custom function</p>
<pre><code>$.fn.inputBoxHelper = function () {
var args = arguments[0] || {};
var matchingElem = $.grep(this, function (e) { return $(e).val() == $(e).attr('title'); });
$(matchingElem).addClass(args.className);
this.bind({
focus: function(){
... | javascript jquery | [3, 5] |
3,275,792 | 3,275,793 | Deserialize json so I can databind to it | <p>I've got a json string, which I want to deserialize and put it in an list. I've got my code below, can someone help me in the right direction please? When I run Response.Write(reports.Count); after I've tried to deserialise, it does count 2 entries, but I cant seem to bind to it. Any advice? </p>
<pre><code>public ... | c# asp.net | [0, 9] |
4,566,624 | 4,566,625 | Worrying about concurrency issues - should I only allow 1 user at the time? | <p>I’m working on an administration tool for a project that does a small amount of reading and writing to different files and some database queries and updates. Now I believe it’s improbable that we would ever have an issue with this since we’re not that many people using this project. But if I can, I want to minimize ... | c# asp.net | [0, 9] |
1,682,005 | 1,682,006 | How to disable back button in browser using javascript or any script | <p>Im using wamp server for my php scripts. And Im having difficulties on the logout code.
Every time I click on the logout link and then click on the back button on web browser it still shows the page which can only be access by the user who is logged in.
I have this code at the beginning of the index.php which is cal... | php javascript | [2, 3] |
1,824,848 | 1,824,849 | Android memory leak tool? | <p>Is there any good visual tool which can be used to detect memory leaks in Android?</p>
| java android | [1, 4] |
3,501,654 | 3,501,655 | Best Way Of Getting Data In Separate Javascript File? | <p>Let me first describe the situation the best I can.</p>
<p>So I am working in a PHP MVC framework. Inside the controller of a method I collect and format the data as it needs to be and I send it off to the view. The view page in turn uses that data but also includes separate javascript script files that also need... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.