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 |
|---|---|---|---|---|---|
552,399 | 552,400 | android hello world app help | <p>i am learning android apps and i made this app and it doesnt work</p>
<pre><code> package com.android.test;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
public cl... | java android | [1, 4] |
3,134,535 | 3,134,536 | how to get a text box with the value selected in select box | <p>hi
This is my view page here i have a select box</p>
<pre><code><tr>
<td>Chidren</td>
<td>:</td>
<td><select style="font-family: verdana; min-width: 52px;" id="ddlChildren"
name="ddlChildren" class="required" onChange="return Check_Adult('dd1Age')"... | php javascript | [2, 3] |
1,921,291 | 1,921,292 | How to write blinking in more elegant way | <p>The aim: to write a js (using jquery) that will perform 2 blinking of the row.</p>
<p>What I currently have is</p>
<pre><code>var $second_row = $('table tr:eq(1)'),
target_color = 'PaleGreen',
original_color = $second_row.css('background-color');
$second_row.css('background-color', target_color);
schedule... | javascript jquery | [3, 5] |
5,186,584 | 5,186,585 | Problem with page loading with jquery. Please help | <p>The site is built to load the content without reloading the whole page. Currently it's using address jquery plug-in to do this (http://www.asual.com/jquery/address/) but sometimes it's not working as intended.</p>
<p>For example; When user clicks on example2 rather than changing to
<a href="http://www.example.com/... | php jquery | [2, 5] |
4,629,228 | 4,629,229 | Eval function is C# | <p>I need some help in understanding what the Eval bit does (Just started learning C#.net):</p>
<pre><code><asp:Image
ID="Image1"
ImageUrl='<%# Eval("Name", "~/UploadImages/{0} %>'
...
</code></pre>
<p>The image is in a datalist repeater which has been binded to a folder containing images files.</p>
<p... | c# asp.net | [0, 9] |
1,250,917 | 1,250,918 | ValidatorCalloutExtender not showing when validated control resides in jQuery dialog | <p>I have a form which is displayed in a jQuery dialog box. This form contains an ASP.Net RequiredFieldValidator and uses the AjaxToolkit's ValidatorCalloutExtender to display the error message.</p>
<p>If the form is displayed outside of the Dialog box then the ValidatorCalloutExtender works fine, but when used insid... | jquery asp.net | [5, 9] |
420,968 | 420,969 | is Python PHP polyglot a good design? | <p>We have Python middle-tier for our Web App . Now we need to render 3 different HTMLs...</p>
<ul>
<li>for older browsers (simple read-only interface)</li>
<li>for HTML5 browsers (LOT more complex than older browsers)</li>
<li>for mobile website (simple XHTML-MP)</li>
</ul>
<p>Now, we need to keep the Python middle-... | php python | [2, 7] |
5,161,102 | 5,161,103 | append in word document using c# | <pre><code>//Text to word file
StringBuilder strBuilder = newStringBuilder();
strBuilder.Append("<h1 title='Header' align='Center'>Writing To Word Using ASP.NET</h1> ".ToString());
strBuilder.Append("<br>".ToString());
strBuilder.Append("<table align='Center'>".ToString());
strBuilder.Append("&l... | c# asp.net | [0, 9] |
3,489,087 | 3,489,088 | Need Help for better practice Jquery codes | <p>I am trying to make my jquery codes look better here. My functions are working correctly but I was wondering if anyone can make my codes less ugly. Thanks a lot!</p>
<p><strong>HTML</strong> </p>
<pre><code><div class='image_layout'>
<a href='#'><img src=' a.jpg '/></a>
<... | javascript jquery | [3, 5] |
5,549,164 | 5,549,165 | Adding textmessages together depending on sender from an ArrayList [Android] | <p>Okay, keep in mind that I'm new to Android and I'm simply put not any good at java.</p>
<p>I've got a method that checks through a list of sms's and add's sms messages that starts/ends with specified characters to an arrayList. </p>
<pre><code>public boolean checkForKey(Object[] smsList) {
//Go through sms lis... | java android | [1, 4] |
6,030,611 | 6,030,612 | File streaming in PHP - How to replicate this C#.net code in PHP? | <p>I'm writing an interface to a web service where we need to upload configuration files. The documentation only provides a sample in C#.net which I am not familiar with. I'm trying to implement this in PHP.</p>
<p>Can someone familiar with both languages point me in the right direction? I can figure out all the ba... | c# php | [0, 2] |
1,888,719 | 1,888,720 | Validating a text field containing a float is a valid percentage value? | <p>I have a form text field that has a KeyUp event. On KeyUp I'm ignoring anthing but numbers, the period, backspace, delete and cursor keys. So, the only thing in the field can be a number or period.</p>
<p>I need to verify these things (number will become a % not over 100.00%):
-The text field string is a valid n... | javascript jquery | [3, 5] |
298,999 | 299,000 | authenticate to a 3rd party site with jquery? | <p>I have a simple login form that lets users log into my website. Once logged in, there is a 3rd party site that I link which users can access and run searches on (its a database resource that we are partnered with). The problem is in order to access that 3rd party database they first have to log in to THAT site with ... | javascript jquery | [3, 5] |
478,266 | 478,267 | Text Comparison using jQuery or PHP | <p>I have 2 strings as an example and want to see if the TEXT of both the strings are EXACT.If the STRING doesnt matches it should show which is the STRING or a sentence that is missing from the original string.</p>
<p>Is it possible in jQuery ? Any code ?</p>
<p>I tried to use lot of Online Text comparison Tools but... | php jquery | [2, 5] |
1,656,166 | 1,656,167 | How can I create edit text in lua scripting while developing using corona SDK? | <p>I want user input simply to take that values for further programming procedures..somebody help me out.</p>
| java android | [1, 4] |
1,581,015 | 1,581,016 | How to get the id value from check box? | <p>1 naga naga123</p>
<p>2 Tamil tamil123 </p>
<p>3 vinod vinod123 </p>
<p>4 naveen naveen123 </p>
<p>5 jakkir jakkir123 </p>
<pre><code>save edit delete
UserID:
UserName:
Password:
</code></pre>
<p>I have check box at the end of each row. When I click the check box and s... | javascript jquery | [3, 5] |
2,241,075 | 2,241,076 | How to pass dynamic id text box value to another page without refreshing with jquery and php | <pre><code>$('.btncomment').click(function () {
var id = $(this).attr('id');
$.post('SaveTopicInformation.php', {
tid: commentform.(topic_ + id).value,
topicdetail: commentform.(topicdetail_ + id).value,
userid: commentform.(user_ + id).value
});
});
</code></pre>
<hr>
<p>I have to... | php jquery | [2, 5] |
3,558,901 | 3,558,902 | jquery post going in loop | <p>I've this code which I'm using to post a message on 'Enter' key press, but it's going on loop and instead of posting one message it's posting it multiple times randomly.</p>
<p>This is the function I'm calling in on <code><input id='txtsendmsg" + i + "' placeholder=\"Write a comment...\" onkeypress='PostMessage(... | c# jquery asp.net | [0, 5, 9] |
332,639 | 332,640 | jQuery Validation: Validate dynamicly generated fields only on the first field | <p>Yes, I know this question has been asked a few times before. But I am confused with the answers. I thought I would have to somehow 'refresh' or use live to add the validation each time I add a new input field.</p>
<p>Also I checked out the <a href="http://jquery.bassistance.de/validate/demo/dynamic-totals.html" rel... | javascript jquery | [3, 5] |
1,211,521 | 1,211,522 | Disable link if current image is shown | <p>How can I disable the thumbnail link if the current image is begin shown?</p>
<pre><code><script type="text/javascript">
$(function() {
$(".image").click(function() {
var image = $(this).attr("rel");
$('#image').hide();
$('#image').fadeIn('slow');
$(... | javascript jquery | [3, 5] |
2,398,484 | 2,398,485 | Web page download progress with percentage | <p>i saw that flash website can be develop to show percentage of loading page. when web page is downloading in client machine then a percentage is shown and show much content is downloading in client machine. so i just want to know the same effect can be achieve in asp.net website where we will show the percentage of t... | asp.net jquery | [9, 5] |
3,647,273 | 3,647,274 | Attributes.Remove does not work | <pre><code>ddlFromCurrency.Attributes.Remove("class");
</code></pre>
<p>I want to remove <code>class="xx"</code> from html element with Attributes.Remove but not wokrking. <code>Attributes.Add</code> works but <code>Attributes.Remove</code> doesn't. Any idea why?</p>
| c# asp.net | [0, 9] |
3,849,070 | 3,849,071 | Control browser type | <p>In .aspx page, I want to control the browser type and if it is IE 6 , I want to show a message.</p>
<p>How can I do it?</p>
| c# asp.net | [0, 9] |
3,512,767 | 3,512,768 | Sending bulk mail in background | <p>I have called thread in master page on page load and called EMail function and it as follows :</p>
<pre><code>Page_load()
{
CreatingThread();
}
protected void CreatingThread()
{
Thread tSendMails;
tSendMails = new System.Threading.Thread(delegate() { EmailQueueSettings(); });
tSendMails.IsBackgro... | c# asp.net | [0, 9] |
2,597,485 | 2,597,486 | Cons of external JavaScript file over inline JavaScript | <p>What are some of the disadvantages of using an external JS file over including the JS as a part of the ASPX page?</p>
<p>I need to make an architectural decision and heard from coworkers that external JS does not play nice sometimes.</p>
| asp.net javascript | [9, 3] |
1,556,840 | 1,556,841 | Variable ends up undefined after using $.get | <p>This seems like an incredibly simple issue but I have no idea why I'm getting undefined. I'm using jQuery to fetch data off a PHP script - specifically a string which the PHP file echoes. Here's the code:</p>
<pre><code><script type="text/javascript">
var map1;
$.get("script.php", function(data)
... | javascript jquery | [3, 5] |
2,163,980 | 2,163,981 | Python performance vs PHP | <p>I am an experienced PHP developer, and I would want to know what of both languages is better for web development.</p>
<p>I understand that there are a lot of factors to evaluate; but focusing in execution time, in your own experience making connections to a mysql server, parsing and concatenating strings, and makin... | php python | [2, 7] |
1,960,271 | 1,960,272 | getting a clicked elements id with jquery | <p>I have a series of Delete icons displays as such:</p>
<pre><code>echo '<img id="'.$items['id'].'" src="images/delete.png" />';
</code></pre>
<p>Where <code>$items['id']</code> is a reference to the id of the DB item I would like that icon to delete.</p>
<p>How can I access this id in jquery when the item is... | javascript jquery | [3, 5] |
2,083,982 | 2,083,983 | Limitation of String in android | <p>Is there any limitation in string in android.
I am getting a response after an http request which is a much bigger string.
My problem is that I am not getting the entire string.
what may be the reason?
I am using this code</p>
<pre><code>response = httpclient.execute(httppost);
String responseBody = EntityUtils.t... | java android | [1, 4] |
4,340,858 | 4,340,859 | Show more and Show less - JavaScript | <p>Initially I want to display 6 lists and on click, show more and show less will function.</p>
<p>What's the problem and how can be it done in a proper manner?</p>
<p>JS fiddle - <a href="http://jsfiddle.net/dKMEp/1/" rel="nofollow">http://jsfiddle.net/dKMEp/1/</a></p>
| javascript jquery | [3, 5] |
5,979,809 | 5,979,810 | JavaScript isNaN function | <p>I am using isNan functionto check if entered value is a number:</p>
<pre><code>if(isNaN(num)) {
alert('I am not a number');
}
else {
//
}
</code></pre>
<p>However, if entered value is, for example, "5748hh" it is understandable like a number and return <code>false</code>. What is wrong?</p>
| javascript jquery | [3, 5] |
6,021,581 | 6,021,582 | how to convert a string received from jquery to c# dynamic object? | <p>how can i convert a string which is a json object to dynamic in my c# WEBMETHOD..so that i can use it retrieve data.</p>
<p>example
my ajax call</p>
<pre><code> function do_save_data()
{
$.ajax({
type:"POST",
url:"../mymethods/test.aspx/SaveUser",
data:"{'profile':'"+objre... | c# jquery | [0, 5] |
5,594,902 | 5,594,903 | Detect before user closes/changes mobile browser tab | <p>Is it possible to detect before the user changes tab or closes the tab on a mobile browser. </p>
<p>I tried</p>
<pre><code>$(window).bind('beforeunload', function () {
// AddToCart(123, 123, 123, 123);
return "Message";
});
</code></pre>
<p>but that did not work.</p>
<p>Any help wo... | javascript android jquery iphone | [3, 4, 5, 8] |
3,596,053 | 3,596,054 | Javascript: How to intercept window.location change | <p>I need a way to attach some pre-processing to each assignment of the window.location. Is there a way to do this. I basically need to serialize some info, that will be used in the new location.</p>
| javascript jquery | [3, 5] |
1,748,344 | 1,748,345 | Append a <br/> tag to a value inside a textarea jquery | <p>How would you append a <br/> tag on a value inside a textarea, it only appends it after a keypress of SHIFT+ENTER, </p>
<p>here is my code to append on the text area and it does not work??</p>
<p><code>$('#textarea').append("<br/>");</code> i think there are still something lacking.</p>
<p><a href="http://j... | javascript jquery | [3, 5] |
848,761 | 848,762 | jQuery disable/re-enable validators on a page | <p>When I need to disable/re-enable validator I usually use jQuery code like so:</p>
<pre><code> ValidatorEnable($('[id*=DueDateRequiredValidator]')[0], false);
</code></pre>
<p>and to re-enable it back:</p>
<pre><code> ValidatorEnable($('[id*=DueDateRequiredValidator]')[0], true);
var validato... | asp.net jquery | [9, 5] |
2,446,041 | 2,446,042 | Retrieving objects between classes | <p>I always get tied up with small things like this... I need to access an objects properties created in class 'Login' from my welcome page class 'Default'. When I try to reference the class so that I may access the object, VS 2010 doesn't list it as available like it normally would, and forcing the request just return... | c# asp.net | [0, 9] |
2,106,217 | 2,106,218 | What does the jQuery function $('#myelement').is('*') do? | <p>What does the following code do:</p>
<p><code>$('#myelement').is('*')</code> </p>
<p>What does the asterisk signify? Since there is only one element, <code>#myelement</code>, I can't understand the point of using <code>is()</code>, which checks if an element matches a set of elements?</p>
| javascript jquery | [3, 5] |
5,894,787 | 5,894,788 | Fragment Dialog without Title issue | <p>i'm trying to create a fragment dialog and need the full space to display information. so i want to disable the titlebar. But after i disabled it the isn't maximized in width anymore.</p>
<pre><code>public class ArticleSearchFragment extends DialogFragment {
@Override
public void onCreate(Bundle savedInstanceState)... | java android | [1, 4] |
2,590,537 | 2,590,538 | Replace Single Quotes in Javascript or JQuery | <p>i have an Html String in which i have some elements having single quotes.When i put this inside a $('varHtml'); Since the varHtml already contains some single quotes it qives an error, Can Somebody help me how to Escape the single quotes in the varHtml</p>
<p>Thanks in Advance</p>
<p>Thomson</p>
| javascript jquery | [3, 5] |
3,303,423 | 3,303,424 | What is gained when you .extend() an obj prototype with itself | <p>I was looking at some code, and just to make sure I wasn't losing my mind with missing the obvious as this looks like to me, there is nothing gained. Seems like a wasteful usage of $.extend() but perhaps someone can shed some light on something I might be missing with inheritance.</p>
<p>So, we have this.</p>
<pre... | javascript jquery | [3, 5] |
641,836 | 641,837 | Is it possible to hide a web based game jQuery code from the user? | <p>I know some of you just feel it is as a completely wrong question but I have a few requirements of such kind that's why I am asking this question. I understand that javascript is downloaded by the browser on client side so it's very difficult to hide that.</p>
<p>So now i have a game code completely written in jque... | javascript jquery | [3, 5] |
5,007,034 | 5,007,035 | UTC string is added on XML Conversion | <p>It seems my java.util.date variable is being formatted in a way I can't control.</p>
<p>In code I have a Date variable to hold the value so it looks like this.</p>
<p>Date X;</p>
<p>Date DD = new Date();
X = DD;</p>
<p>X looks great as milliseconds right up to the point where I serialize it out. The date appears... | java android | [1, 4] |
244,482 | 244,483 | how to get the value to td inside list in javascript | <p>I have a listview in asp.net it appears in html like this </p>
<pre><code><li id="l3" class="add" onclick="hilite()" style="">
<table id="tbl" style="width: 100%;">
<tbody>
<tr style="width: 100%;">
<td class="border2" style="width: 50%;"> 1011 </td... | javascript jquery asp.net | [3, 5, 9] |
3,426,388 | 3,426,389 | Limiting a textarea to a fixed number of chinese characters | <p>I had been given a requirement from client saying limit the textarea – 200 characters in English, it is approximate 66 Chinese characters for UTF8.</p>
<p>I wonder how do I check them whether it is chinese character or english character and calculating them in the sense of maximum length ?</p>
| php javascript | [2, 3] |
1,897,460 | 1,897,461 | How to offset window top 50% | <p><a href="http://jsfiddle.net/motocomdigital/dKDJz/6/" rel="nofollow">http://jsfiddle.net/motocomdigital/dKDJz/6/</a></p>
<p>I'm trying to fix position a div to top 50% off my window height. Which I can do fine with CSS.</p>
<p>But the original position of this 'div.slider-button' is absolute positioned further dow... | javascript jquery | [3, 5] |
4,395,657 | 4,395,658 | How to animate text using JavaScript | <p>I want to implement animated text i.e. moving the text from bottom (half of the page) to the top like marquee. I don't get any good code. Does any one know how this is implemented in JavaScript or jQuery or DHTML? </p>
<p>Thanks in advance</p>
| javascript jquery | [3, 5] |
2,417,903 | 2,417,904 | jQuery v 1.4.2 and 1.6.2 ajax calls | <p>fiddles: <a href="http://jsfiddle.net/protocosmos/Mh275/4/" rel="nofollow">http://jsfiddle.net/protocosmos/Mh275/4/</a> and <a href="http://jsfiddle.net/protocosmos/HyLmS/6/" rel="nofollow">http://jsfiddle.net/protocosmos/HyLmS/6/</a>
- The first one works using jQuery 1,4,2
- The latter doesn't, is there something ... | javascript jquery | [3, 5] |
3,403,210 | 3,403,211 | Opening ASP.Net pages in Java application | <p>Currently we have a Java application and .Net application running in two servers.
We have a requirement to call a set of pages developed in Asp.Net into a Java application. </p>
<p>Follows the brief explanation:
1. Suppose there is a running java application.
2. On click of a link (Say "Edit Profile") from Java ... | java asp.net | [1, 9] |
3,317,843 | 3,317,844 | How to catch checked status from a plugin while we are tweeking checked status outside plugin using a custom jQuery code | <p>I wrote some custom code in order to make a check box "checked". While I have a plugin which uses the checked status as written below:</p>
<pre><code>this.checkboxContainer.find('input[type=checkbox]').click(function () {
self.filter()
});
</code></pre>
<p>But as you can see it only works on click event. I tri... | javascript jquery | [3, 5] |
2,580,466 | 2,580,467 | Onclick event for image tag inside PHP echo, is not working | <p>In my image.php file i have code</p>
<pre><code>$id=abs($_GET['id']);
$query = mysql_query("SELECT image FROM table1 WHERE id=$id");
$data=mysql_fetch_array($query);
header('Content-type: image/jpg');
echo $data['image'];
</code></pre>
<p>And while retrieving i am using query</p>
<pre><code>$query = mysql_query(... | php javascript | [2, 3] |
3,507,055 | 3,507,056 | A quick question about keypress and jQuery | <p><code>$(document).keydown(function(e) {</code></p>
<p>Well, that's my code - I was wondering if it is possible to have something like:</p>
<p><code>$(document).not('#pinkElephant').keydown(function(e) {</code></p>
<p>(Except, that doesn't work...)</p>
<p>Any Ideas?</p>
<p>Thanks very much!</p>
<p>p.s. All that... | javascript jquery | [3, 5] |
3,323,800 | 3,323,801 | Make html code disappear with placeholder? | <p>I have a simple table</p>
<pre><code><table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
</code></pre>
<p>and a link</p>
<pre><code><a h... | c# asp.net | [0, 9] |
1,219,190 | 1,219,191 | Interval is starting twice after cleared | <p>I am trying to create an interval and send request. It will start with click and stop with click. Starting and stopping working great. But after stopping the interval when you pressed the button again to start it, interval starts twice. After stopping it and start it again, it starts 3 interval.</p>
<p>Here is my c... | javascript jquery | [3, 5] |
5,387,598 | 5,387,599 | jQuery .text('') on multiple nested elements | <p>I wanted to remove all text from html and print only tags. I Ended up writing this:</p>
<pre><code>var html = $('html');
var elements = html.find('*');
elements.text('');
alert(html.html());
</code></pre>
<p>It only out prints <code><head></head><body></body></code>. Was not that suppose to... | javascript jquery | [3, 5] |
1,311,341 | 1,311,342 | Spinner Contents in Android | <p>When you work with spinners in android, do you have to use a spinner adapter if you set the array in a spinner to a string array declared in strings.xml?</p>
| java android | [1, 4] |
4,358,867 | 4,358,868 | how to implement infinite scroll masonry | <p>I have used masonry js for showing content on my site.</p>
<p>I want to implement infinite scrolling functionality using this file.</p>
<p>I have see this demo </p>
<p><a href="http://masonry.desandro.com/demos/infinite-scroll.html" rel="nofollow">http://masonry.desandro.com/demos/infinite-scroll.html</a></p>
<p... | php javascript jquery | [2, 3, 5] |
4,817,045 | 4,817,046 | How do you store the visibility of a form into a variable in jquery? | <p>how do we check whether a input box is visible or not....then store its state into variable to be outpu via alert ?</p>
<p>right now i'm using and i think it wrong. can any body help ?</p>
<pre><code><input type="hello" name="hello" value="" style="visibility:hidden"/>
function testhideinput(){
... | javascript jquery | [3, 5] |
2,529,675 | 2,529,676 | How to create Multi language website in aspx with database | <p>How to create Multi language website in aspx where database store translations? I search many articles but there is not uniq solution.</p>
<p>Anyone have good isea or know any good article?</p>
| c# asp.net | [0, 9] |
1,222,113 | 1,222,114 | Make the scrollbar fixed to bottom even while appending content to it | <p>For better understanding I am trying to implement chatbox with smooth transition of previous (upper) chat messages.</p>
<p>Here is the <a href="http://jsfiddle.net/eEEGE/" rel="nofollow">http://jsfiddle.net/eEEGE/</a></p>
<p>When I click "Add" I want all the number 1 - 9 slide up and append 10-12 below it.</p>
<p... | javascript jquery | [3, 5] |
3,545,980 | 3,545,981 | How to delete sub folders and files if resides using asp.net c# | <p>I want to delete all sub folders and files residing in the sub folder of specified path.</p>
<p>I am new to C# coding please help me. </p>
<p>Suppose I have the path: "C:\Files\aaa-426962\15-02-2013\index.html" </p>
<p>If I specify "C:\Files\aaa-426962" then all sub folders and files residing under "C:\Files\aa... | c# asp.net | [0, 9] |
4,024,922 | 4,024,923 | Android Demo's aren't appearing in simulator | <p>I'm trying to get my feet wet with Android development. I downloaded Eclipse, and setup the ADT. When I create a project from existing source, I choose the demo projects (API Demo) and compile + run. The simulator pops up but I can't seem to find the API Demo application. How can I get this up and running?</p>
| java android | [1, 4] |
2,625,260 | 2,625,261 | Gridview PageIndex not changing on page_Load event | <p>I'm trying to change pageindex on page_Load event but its not working.
I can change page by clicking links in the page after page loaded.
If this info necessary GridView in UpdatePanel.</p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
/*...Some Codes...*/
//I'm trying to change page l... | c# asp.net | [0, 9] |
5,176,623 | 5,176,624 | How do i use captcha in the asp.net application for test input in simple way | <p>I'm working on asp.net web application where I need to use CAPTCHA to test input enter into textbox please let me know very simple way to implement CAPTCHA in asp.net.</p>
| c# asp.net | [0, 9] |
1,917,211 | 1,917,212 | Dropdown Menu is not working properly | <p>I used dropdown menu in our site its worked in all browser but in IE6 it's not working properly. so tell me solution. this site is in wordpress.</p>
<p>Thanks
Abhay</p>
| php javascript | [2, 3] |
3,660,536 | 3,660,537 | Jquery 'addClass' sometimes fails but css does not | <p>in some cases, this will not work:</p>
<pre><code>("#id").addClass("class");
</code></pre>
<p>whereas this will:</p>
<pre><code>("#id").css('color','Blue');
</code></pre>
<p>why would it fail and how to add class otherwise?</p>
| javascript jquery | [3, 5] |
4,250,918 | 4,250,919 | <h2> background-color is not changing with Jquery? | <p>I have an h2 element with an id of title and I have the following script:</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
$("#title").css("background-color","red");
)};
</script>
</code></pre>
<p>The background-color is not changing though and I can't figure out why... | javascript jquery | [3, 5] |
2,161,919 | 2,161,920 | How can I call aspx content page methods from usercontrol? ASP.NET, C# | <p>How can I call aspx content page methods from usercontrol?</p>
| c# asp.net | [0, 9] |
2,381,831 | 2,381,832 | Transferring data from PC to Android Mobile | <p>I'm new to Android programming.
I have to send continuous data from my PC(bluetooth enabled) to an Android phone using Bluetooth.
I have written a Java code to generate some random numbers.
how do i send it to the phone without manually transferring it. i.e i want the java code to send a particular a particular t... | java android | [1, 4] |
4,482,666 | 4,482,667 | My ellipsis function is taking the wrong string | <p>I have an ellipsis function in php to truncate my string.</p>
<pre><code>$HashTagText = "#apple, #ball #cat , #dog";
</code></pre>
<p>the ellipsis function gives results like - <code>#apple, #ball #c...</code><br/></p>
<p>It shows OK but when I click on <code>#c...</code> then the link passes <code>#c...</code> v... | php javascript | [2, 3] |
4,015,495 | 4,015,496 | Download text as a file from a webpage | <p>I'm downloading text from a website and I want to have the user be able to save it as a file. So, I have the following code that does just that.</p>
<pre><code>protected void DownloadFile(string fileName, string content)
{
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
Response.... | c# asp.net | [0, 9] |
5,332,934 | 5,332,935 | Running a program on a server | <p>I want to build an Android application that downloads an XML file from a web server and displays its contents in a readable format.
My problem is generating that XML file. Basically I want to run a program, say, every 30 minutes that downloads a web page (as that data is not easily accessible), parses it, generates ... | java android | [1, 4] |
4,233,860 | 4,233,861 | How to implement secured login/logout in asp.net applications | <p>Please suggest me a suitable way to implement a secure login/logout in c# asp.net applications?</p>
| c# asp.net | [0, 9] |
3,634,339 | 3,634,340 | Getting textbox value in javascript code after onchange | <p>On my page, I'm using textbox with calendar extender to get the date value.
I've added <code>onchange="ValidateStartDate();"</code> to the textbox.</p>
<pre><code> <asp:TextBox ID="TextBoxStartDate" runat="server" ForeColor="Red"
onchange="ValidateRsmStartDate();">
</asp:TextBox> ... | javascript asp.net | [3, 9] |
1,374,745 | 1,374,746 | Can not change value in textbox when edit | <p>In the Page-Load method I set value for textbox like this</p>
<pre><code>txtid.Value = pro.getId().ToString();
txtmodel.Text = pro.getModal();
txtname.Text = pro.getName();
cbCategory.SelectedValue = pro.getCategory();
txtprice.Text = pro.getPrice().ToString();
txtDescription.Text = pro.getDescription();
</code></p... | c# asp.net | [0, 9] |
256,995 | 256,996 | How to alter prettyPhoto description HTML? | <p>hello i want to modify the "description html" of the prettyPhoto i dont think there is a callback available when prettoPhoto lightbox is "shown" (but a callback for close exist)</p>
<p>what do you guys recommend? </p>
| javascript jquery | [3, 5] |
1,239,000 | 1,239,001 | Jquery change CSS class on clicking | <p>I am working on a project i am having some anchors like tab, each have some CSS class, the selected tab have separate css class. I am clicking on tab and i want to change its CSS class to selected css class i have done this functionality but i am having some problems with it is that previously selected tab also ha... | javascript jquery | [3, 5] |
3,654,259 | 3,654,260 | Create a simple, simple, Game Engine | <p>I'm on my way with my first game, all design and that stuff are done, just coding left.
I have successfully watched tutorials around the world wide web with information about Graphics and how to create a successfully thread-synchronization within it. </p>
<p>Like now I have a SurfaceView-class and a Thread-class. T... | java android | [1, 4] |
2,952,490 | 2,952,491 | why jquery/javascript code get conflict with other jquery/javascript? | <p>While using jquery or javascript code most of the time i have to face the problem of jquery or javascript conflict.</p>
<p>Still i haven't got the reason why this stuff get conflict with other code?</p>
<p>Any one have any idea about this?</p>
<p>And any solution so that next time this issue will not occur while ... | javascript jquery | [3, 5] |
2,688,443 | 2,688,444 | How to distinquish concurrent progress bar requests on server side in asp.net | <p>I implemented progress bar to show completing status to users when video processes in background. it works well on single instance. but mixed it up when two concurrent video process started.</p>
<p>When two video processes initiated by two different users at same time, both users will see mixed progress status some... | c# asp.net | [0, 9] |
4,932,628 | 4,932,629 | LINQ - return random value does not work | <p>I have this class in my infrastructure that suppose to return random image. It always returns same image. I have exactly same code used in different place on my website and it works. Any ideas?</p>
<p><a href="http://stackoverflow.com/questions/648196/random-row-from-linq-to-sql">This</a> question is where I got th... | c# asp.net | [0, 9] |
5,595,111 | 5,595,112 | How to add number with animation | <p>I want to add number in existing number like stopwatch, My function is adding number perfectly but I want to add animation like stopwatch, I tried but I did not get any clue to get it done. Here's a <a href="http://jsfiddle.net/uyG92/" rel="nofollow">working demo</a></p>
<pre><code>$('a').click(function() {
var... | javascript jquery | [3, 5] |
2,327,498 | 2,327,499 | DRY attribute selection | <p>Say I have an element on the page:</p>
<pre><code><div data-name='foo'>
</code></pre>
<p>What's the best way to get the attribute value? Is there anything more DRY than <code>$('[data-name]').attr('data-name')</code> or <code>$('[data-name]').data('name')</code>?</p>
| javascript jquery | [3, 5] |
1,559,363 | 1,559,364 | Force request to a URL on a different domain | <p>I need to make a request to a page on a different domain when a user clicks a link in order to keep the session alive on that domain. I don't care about the response data (except <em>maybe</em> the status code so I can make sure the page hasn't gone down). I tried issuing a request via <code>$.ajax</code> but the sa... | javascript jquery | [3, 5] |
3,811,995 | 3,811,996 | Avoid multiple event listeners from .focus | <p>I currently have a textbox that I am invoking a keyboard stroke on focus:</p>
<pre><code>$myTextBox.on('focus', function(e){
$(document).keydown(function(e){
if(e.which==13)
e.preventDefault()
});
$(document).keyup(function(e){
if(e.which ==13)
alert("hey");
});
});... | javascript jquery | [3, 5] |
1,701,255 | 1,701,256 | Rijndael.CreateDecryptor() crashes the IIS worker thread (but only in IIS 7.5 64bit) | <p>We have an app that works great on IIS 6 and IIS 7. As soon as we go to Windows 2008 R2 with IIS7.5 we get an IIS crash. The worker thread actually dies and leaves a message in the event viewer:</p>
<pre><code>Fault bucket , type 0
Event Name: APPCRASH
...
Problem signature:
P1: w3wp.exe
P2: 7.5.7600.16385
P3: 4a5... | c# asp.net | [0, 9] |
4,248,757 | 4,248,758 | Android Pros: How to wrap PayPal's MPL? | <p>I have no Java experience and prefer Visual Basic; I've found a very nice translation IDE called Basic4android (www.basic4android.com). It works by interpreting a scripting language that's similar to Visual Basic and then using it to generate and compile native Java code. Rather ingenious, if you ask me. In fact I b... | java android | [1, 4] |
3,375,253 | 3,375,254 | Is it possible to combine different paths into a view or an object? | <p>I created a drawing using different paths, but how can I move the entire drawing? How can I selected and move it around? Here is the main part of my onDraw method:</p>
<pre><code>Path theSymbol = new Path();
theSymbol.moveTo(0.0F, 0.0F);
theSymbol.lineTo(0.0F, 50.0F);
theSymbol.lineTo(16.666666F, 58.333332F);
theS... | java android | [1, 4] |
2,646,080 | 2,646,081 | Bundle jQuery with widget | <p>Let's say I want to provide a widget like Youtube does to embed their player in an external page. For this widget, I rely on a certain version of jQuery. How can I bundle jQuery with my widget so that it is available to my widget JS code, but that it doesn't interfer with other jQuery versions included in the extern... | javascript jquery | [3, 5] |
2,662,075 | 2,662,076 | How to execute alert after trigger click event | <p>I am trying to execute the alert message after the execution of the trigger event. My code :</p>
<pre><code> $(".addpage").trigger("click").queue(function () {
alert($(".page:first-child").attr("id"));
});
</code></pre>
<p>But here problem is the alert is executing before completing the trigger event function... | javascript jquery | [3, 5] |
412,034 | 412,035 | Are there any advantages of using ASP over PHP? | <p>I've been working with PHP for server-side applications however, I recently found out about ASP and I was thinking about learning it. What are the advantages and disadvantages of using ASP over PHP and what are some situations where you'd need ASP or PHP that the other couldn't do it?</p>
| php asp.net | [2, 9] |
3,516,717 | 3,516,718 | jQuery iframe upload. Handle network errors | <p>This code works, except now I need to handle network errors.</p>
<p>For example if the network is turned off while a file is uploading. I need to handle errors like these.</p>
<p>How can I proceed?</p>
<pre><code>var name = 'iframeUpload';
var cur = $(this);
var iframe = $('<iframe name="' + name + '" id="' + ... | javascript jquery | [3, 5] |
234,805 | 234,806 | how to show progress bar uploading file | <p>I use this code "<a href="http://stackoverflow.com/questions/10832415/large-files-will-not-get-uploaded-to-server-from-my-android-app">Large files will not get uploaded to server from my android app</a>" to upload my files server and now looking for the opportunity how to display progress bar.</p>
<p>-Best</p>
| java android | [1, 4] |
4,826,418 | 4,826,419 | jquery .net not firing the function $.ajax | <p>im using jquery in asp.net, if i try to use $.ajax functionality, i got this</p>
<ol>
<li>if i use it in a separate page it works..</li>
<li>when i put it in an ascx and put the ascx out of <code><form runat="server" ></code>... tags it works</li>
<li>if i put it between <code><form></code> tags , jquer... | c# jquery | [0, 5] |
4,608,142 | 4,608,143 | Lock screen with out Thread.sleep or giving some amount of time in jquery | <p>Hi all I am having a requirement where I have to show loading image when I perform any operation. I have gone through several blogs and articles, but all of them are doing some thing like giving some amount of time in Jquery or the scripts used, or using <code>Thread.Sleep</code> method.</p>
<p>Is it possible to do... | c# jquery asp.net | [0, 5, 9] |
2,193,386 | 2,193,387 | Get last string from URL with jQuery | <p>Im trying to get the last string from a URL for example...</p>
<pre><code>http://www.mywebsite/blog/this-post
</code></pre>
<p>I want to use jQuery to get 'this-post'
Ive the following...</p>
<pre><code>$('img.gigthumb').each(function(){
var foo = $(this).parent().attr('href').split('/');
$(this).attr('sr... | javascript jquery | [3, 5] |
5,882,108 | 5,882,109 | How can I add mouse click event to Web TextBox in c# | <p>How can I add mouse click event to Web TextBox in c#</p>
| c# asp.net | [0, 9] |
1,677,640 | 1,677,641 | jquery selector slow when 1000+ elements with 450Mhz machine | <p>I got something like this which contains about 1000 dom elements</p>
<pre><code> <table id="tableId">
<tr class="selected"><td>Text 1</td></tr>
<tr><td>Text 2</td></tr>
...
<tr><td>Text 500</td></tr>
</table>
</co... | javascript jquery | [3, 5] |
4,511,006 | 4,511,007 | drag and scroll script | <p>I'm trying to make a scrolling calendar script using jquery (similar to the one on an iPad) </p>
<p>So, I want to record the yPosition of the mousedown and the mouseup and move a div accordingly. I tried recording the mouse positions using two variables, one to be recorded on the mousedown event and one to be recor... | javascript jquery | [3, 5] |
4,321,278 | 4,321,279 | How to make a live activity feed display like IBFX Connect? | <p>What are the basics of making a live activity like the one here:
<a href="https://www.ibfxconnect.com/" rel="nofollow">https://www.ibfxconnect.com/</a>
?</p>
<p>I have two specific questions:</p>
<p>I want to have the effect of new things coming in the feed and old things being pushed down as it shows. How?</p>
<... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.