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 |
|---|---|---|---|---|---|
5,720,086 | 5,720,087 | Save an arraylist to cache file and retrieve it | <p>I want to create two methods. The one should store and arraylist to the cache and the other should retrieve the arraylist from the cache. The code that I've tried is the following:</p>
<pre><code>public class ByteConverter<T> {
public byte[] write_to_byte_array(ArrayList<T> list,File file){
// wri... | java android | [1, 4] |
3,777,021 | 3,777,022 | Using the command action_dail for South Africa | <p>I'm using the command action_dail with the mobile nr and on the emmulater it start dailing but my phone is not ringing.</p>
<p>This is my code:</p>
<pre><code>public void processClicks(View display) {
Intent action;
int id = display.getId();
switch (id) {
case (R.id.phonebutton)... | java android | [1, 4] |
198,286 | 198,287 | How to read C# method output from javascript? | <p>I have a C# class method that return a xml document not file.
How to read C# method output from javascript???
I don't wont to use script manager.</p>
<p>Any ideas?</p>
| c# asp.net javascript | [0, 9, 3] |
2,727,502 | 2,727,503 | Get nested element value | <p>i have the html:</p>
<pre><code><div>
<label>
<input type='radio' name='a'>
<span></span>
<input type='hidden' value='1'>
</label>
<label>...
</div>
</code></pre>
<p>I need to get value of hidden input by click event on la... | javascript jquery | [3, 5] |
133,794 | 133,795 | Alert if third td is occupied? | <p>I have a table like this (its a simplified version of my real table):</p>
<pre><code><table id="tabela" width="100%" cellspacing="10px">
<tr>
<td>2:00:00</td>
<td>3:00:00</td>
<td class='free'>
<input type='radio' name='appointmen... | javascript jquery | [3, 5] |
4,750,663 | 4,750,664 | fade cycle an array of images in jquery | <p>I have an array of background images that I would like to cycle through as a simple fade effect. This is easily done with the image html tag but i need them to be background images set as a style. The background images are dynamically pulled through using a cms.</p>
<p>Here is the link so you can see what I'm deali... | javascript jquery | [3, 5] |
3,484,490 | 3,484,491 | jquery datepicker problem in include page in php | <p>I use the following "datepicker.php" page for jquery datepicker is given below : </p>
<pre><code> <!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="... | php jquery | [2, 5] |
3,925,953 | 3,925,954 | FadeIn Script Not Working? | <p>I have the following script:</p>
<pre><code>var $j = jQuery.noConflict();
$j(window).load(function () {
$j('#loading').fadeOut('fast', function () { //Step 1
$j("#sp-container").fadeIn("fast", function () { //Step 2
$j("#content-wrap").delay(9000).fadeIn("slow"); //Step 3
});
});... | javascript jquery | [3, 5] |
2,225,008 | 2,225,009 | Scroll down to Form DIV area? | <p>Every time I add an item - I want to scroll down to <strong>Add Item Form</strong> form (<code>#form_additem</code>) - how can that be done?</p>
<p>Example of HTML Code:</p>
<pre><code><div class="item"> 1 </div>
<div class="item"> 2 </div>
<div class="item"> 3 </div>
<div cl... | javascript jquery | [3, 5] |
5,570,355 | 5,570,356 | use jQuery to expand/collapse text | <p>I want to cut off text based on a fixed height.When the text is cut off, a "more" link is used to expand to text. When the text is expanded, a "less" link is used to collapse the text. I wrote the js as this:</p>
<pre><code>$(document).ready(function () {
// line height in 'px'
var maxheight=218;
... | javascript jquery | [3, 5] |
5,510,003 | 5,510,004 | Get and replace text containig :: inside a div | <p>how can i use jquery to find ::123:: , get 123 out(as an id) then change it into an image inside a div that has many lines.</p>
<p>The div:</p>
<pre><code><div id="msg">
<ul>
<li class="message">hello</li>
<li class="message">123</li>
<li class="message">thrid li... | javascript jquery | [3, 5] |
5,790,486 | 5,790,487 | Import yahoo contacts in a gridview in asp.net | <p>I am trying to import yahoo contacts in my asp.net web application. i got the code from </p>
<p><a href="http://gnillydev.blogspot.com/2007/10/yahoo-contact-import-class-in-c.html" rel="nofollow">http://gnillydev.blogspot.com/2007/10/yahoo-contact-import-class-in-c.html</a></p>
<p>but i am not able to understand h... | c# asp.net | [0, 9] |
1,503,753 | 1,503,754 | How to add GridView Row to datatable? | <p>I've a gridview with headercheckboxes and childcheckboxes.When headercheckbox is clicked child checkboxes will automatically be checked.For this i've used javascript named 'checked' and its working fine..</p>
<p>My problem is i want to add all the checked child items to a datatable,simultaneously when i check heade... | c# asp.net | [0, 9] |
2,630,246 | 2,630,247 | How to detect if MediaRecorder is used by another application? | <p>I'm trying to detect if MediaRecorder is used by other application, to stop my recorder and continue for later use. I saw Androids Voice recorder app, it does what exactly I'm talking about, but HOW ?
Thank you.</p>
| java android | [1, 4] |
2,416,886 | 2,416,887 | Creating a C# object in javascript | <p>I'm trying to submit data to a web service in my project. The data's in the form of several fields, so I'd rather create a single object and submit that. I know I can submit it as a JSON object, but I thought I'd seen code somewhere that would create a C# object on the JS side so that I could submit it to the web se... | c# javascript | [0, 3] |
3,558,547 | 3,558,548 | How can I target an element's 'parent' | <p>I have some <code><TD>s</code> without unique names. Inside them there are spans with unique classnames so I have no problem targetting the spans. How can I target the parent <code><td></code> so I can change its class?</p>
<p>I want to do something like <code>$(".classname").parent("TD").className="ne... | javascript jquery | [3, 5] |
2,855,610 | 2,855,611 | Extract json data from string using regex | <p>I have data string like below:</p>
<pre><code>....
data=[{"CaseNo":1863,"CaseNumber":"RD14051315","imageFormat":"jpeg","ShiftID":241,"City":"Riyadh","ImageTypeID":2,"userId":20}]
--5Qf7xJyP8snivHqYCPKMDJS-ZG0qde4OqIyIG
Content-Disposition: form-data
.....
</code></pre>
<p>I want to fetch json data from above strin... | c# asp.net | [0, 9] |
5,674,871 | 5,674,872 | jQuery - get the selected options of a listitem collection? | <p>I have fields that a user would enter and i would pass it into jQuery and pass to a web service. </p>
<p>I can get textboxes values by:</p>
<p>var name = $("#MainContent_txtName").val() </p>
<p>The problem I'm having is a multi-select that comprises of a list item collection.
If I was to do this server side, I ... | javascript jquery asp.net | [3, 5, 9] |
2,832,524 | 2,832,525 | How to cut the string in javascript so that it fits exactly two lines & add ... at the end | <p>I have a requirement where in i have to display the text for two lines & add ... if its overflowing
My div Width is fixed.(Even height can be considered as fixed).</p>
<p><strong>Actual text looks like this:</strong></p>
<h1>1</h1>
<p>Lorem Ipsum is simply<br/>
dummy text of the printing<br/>
and typesetting ... | javascript jquery | [3, 5] |
5,831,538 | 5,831,539 | Autocomplete input issue | <p>I have an html file that references a couple of jquery files and has an array to pull the data for the input list, however; when I run the program I keep getting an error for the JS array saying "object expected". Any help would be appreciated. </p>
<pre><code> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra... | javascript jquery | [3, 5] |
891,666 | 891,667 | Index was out of range. Must be non-negative DataKeys (Asp.Net) | <p>My code is (Asp.Net , C#)</p>
<pre><code> int index = Convert.ToInt16(e.CommandArgument);
string str = GridView2.DataKeys[index].Value.ToString();
Session["studyuid2"] = str;
</code></pre>
<p>The Second Line Throws me the error <strong>Index was out of range. Must be non-negative and less than the size ... | c# asp.net | [0, 9] |
4,799,485 | 4,799,486 | Adding Controls to Controls in codebehind | <p>I'm trying to add a span, inside an anchor, inside a dd tag. for some reason this:</p>
<pre><code>protected Control MakeDD() {
var dd = new HtmlGenericControl("dd");
var link = new HtmlGenericControl("a");
var span = new HtmlGenericControl("span");
link.Controls.Add(span);
dd.Controls.Add(link)... | c# asp.net | [0, 9] |
4,561,785 | 4,561,786 | applying css to nth child words | <p>An interesting little problem...</p>
<p>Trying to loop through the children of a paragraph (words) and color them, one by one.</p>
<p>Here's a hard coded working version with words in separate elements:
<a href="http://jsfiddle.net/JjRHT/25/" rel="nofollow">http://jsfiddle.net/JjRHT/25/</a></p>
<p>using</p>
<pre... | javascript jquery | [3, 5] |
5,799,101 | 5,799,102 | Jquery one issue | <p>My mark up</p>
<pre><code><form action="blah/foo" method="POST" id="frm1">
<input type="hidden" id="v" />
</form>
......
......
<!--after some code-->
<button id="btn1">test</button>
<input type="text" id="somevalue" />
</code></pre>
<p>My purpose is when i click the butto... | javascript jquery | [3, 5] |
2,090,125 | 2,090,126 | How do I multiply two columns together using SQLite Database in Android? | <p>I created a table using the SQLiteOpenHelper: </p>
<pre><code>public void onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
db.execSQL(
"CREATE TABLE " + DATABASE_TABLE + " (" +
KEY_ROWID + " INTEGER PRIMARY KEY AUTOINCREMENT, " +
KEY_NA... | java android | [1, 4] |
921,264 | 921,265 | JQuery SetAttribute of Input Field on Key Event | <p>I want to set a attribute of Input field if user Enters some characters in to the text/check box. Here is the <a href="http://jsfiddle.net/sirishkumar/dFBzW/51/" rel="nofollow">link</a> to Java Script I am trying. Below is the code</p>
<pre><code><input type="text" />
<div id="output"></div>
</cod... | javascript jquery | [3, 5] |
1,858,961 | 1,858,962 | Automatic usage of jsonp for cross domain ajax requests | <p>How can I tell jQuery to automatically use "jsonp" for cross-domain ajax requests while it keeps using "json" for same-domain requests? I want to write a client library in javascript which uses jsonp only when necessary. Let's take this small snippet as an example:</p>
<pre><code>jQuery.ajax(url, {
dataType: "j... | javascript jquery | [3, 5] |
833,037 | 833,038 | Use of split function using jquery | <p>I am getting CSS 'left' property value. now it is set on -50. so i want to get only 50 can this be done with split function or there is another way to do that. Also why split function is not working in my function</p>
<pre><code><head>
<script type="text/javascript" src="jquery-1.7.2.js"></script>... | javascript jquery | [3, 5] |
3,813,520 | 3,813,521 | best practice: should i unbind on custom widget | <p>i create custom multiple span element and bind with with click event. i want to dynamically remove the span on click. i can just remove the span with remove() function. for good practice, should i call unbind on the span first before call remove() ? please advice</p>
| javascript jquery | [3, 5] |
2,176,887 | 2,176,888 | Geting javascript error when downloding a xls file from server | <p>I have situation where I'm opening a modal window using javascript i.e <code>"download.aspx"</code>, On this aspx file I have a textbox to input ID and based upon this ID I query server and then download and XLS file from a location.</p>
<p>I'm using Ajax on my parent window .</p>
<p>Every thing goes fine , but wh... | c# javascript asp.net | [0, 3, 9] |
1,731,755 | 1,731,756 | How to add my custom View to layout in xml? | <p>There is the following xml:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<com.ulnda.calendarappl... | java android | [1, 4] |
3,825,052 | 3,825,053 | Setting variable to true on click - Doesn't seem to work | <p>I have a page with 2 simple tabs. The tabs are showing if disable_function = false.</p>
<p>At the end of the page I have a simple trigger which I want to set the variable disable_function = true so that the tabs won't work - when ever the trigger is ON.</p>
<p>I tried few ways but it didn't seem to work.</p>
<p>H... | javascript jquery | [3, 5] |
2,163,236 | 2,163,237 | Access a cell in datalist after click button? | <p>how to Access a cell in data list after click button and Transmission to Variable...</p>
| c# asp.net | [0, 9] |
5,848,598 | 5,848,599 | inline scripts: jQuery is not defined? | <p>hey guys,
i have a certain plugin on my website that adds a inline script segment to my website.</p>
<p>this is the first line of this inline script.</p>
<pre><code>jQuery(document).ready(function($)
</code></pre>
<p>jquery 1.5 is loaded in my head. However in my normal script.js file where all my selfmade js is ... | javascript jquery | [3, 5] |
3,686,346 | 3,686,347 | jQuery wait till function is executed | <p>I'm trying to call 2 functions. The first function includes a jQuery effect. The second function (in this case is a jQuery effect), but may only execute if the first function is executed (and finished). Can someone help me out? Thanks!</p>
<p>Fox example: <a href="http://jsfiddle.net/fNH2u/1/" rel="nofollow">http:/... | javascript jquery | [3, 5] |
4,686,240 | 4,686,241 | Android record Voice in Mp3 format | <p>I i am going to record voice but i need in the format of MP3
please any one can help me to save Recorded Data in MP3 format.</p>
<p>currently i am using AudioRecord class in Android but saving with Wave Header format.</p>
<p>but i need to save as MP3.</p>
| java android | [1, 4] |
1,418,408 | 1,418,409 | convert timestamp to ISO860 in java, | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/2201925/converting-iso8601-compliant-string-to-java-util-date">Converting ISO8601-compliant String to java.util.Date</a> </p>
</blockquote>
<p>I have issues when changing the timestamp to ISO 8601 in JS as it er... | java javascript jquery | [1, 3, 5] |
2,934,855 | 2,934,856 | Need of vertical scroll panel (social icons) tutorial/template | <p>I need to find some tutorial or example on side bar scrolling with focus (something like <a href="http://www.hongkiat.com/blog/ipad2-photoshop-tutorial/" rel="nofollow">http://www.hongkiat.com/blog/ipad2-photoshop-tutorial/</a>), but I can't find one. Best if it is CSS jscript/jQuery. I'm not native english speaking... | javascript jquery | [3, 5] |
1,628,546 | 1,628,547 | Changing div clipping event | <p>I have been working on a project that uses ByRei's DynDiv to use movable/scaleable divs. Everything seems to work fine except that when I want to minimize a div, using the included function, it seems to do so except for the fact that the clipping merely obscures the content, and it in fact remains the same height. A... | javascript jquery | [3, 5] |
1,695,197 | 1,695,198 | taking page snapshot javascript | <p>In google plus, when you click on the send feedback button located on the bottom-right corner, it enables us to highlight the area where the error has occurred. When we highlight the area and click on submit, the page snapshot is saved for the developers of gplus for the reference to the complain. I want to develop ... | php javascript jquery | [2, 3, 5] |
4,828,515 | 4,828,516 | HTTPS Auto-Login Probs | <p>I am trying to create a C# script to login automatically to a website and download a report.</p>
<p>I have managed to login to the site. Effectively the steps are:</p>
<p>1) Get login form
2) Sent login/pass with cookies
3) Logged In
4) Ask for Report & Download</p>
<p>The problem I am having is that 4).. doe... | c# asp.net | [0, 9] |
124,122 | 124,123 | how to deal with an array, if I just want return one specific value from it when clicking | <p>I have some <code><li></code> items appended by jQuery $.getJSON function.</p>
<p>for example:</p>
<pre><code><ul>
<li><input type="image" name="click_this" value="SOMEUUID" />FOO</li>
<li><input type="image" name="click_this" value="SOMEUUID" />BAR</li>
</ul>
... | javascript jquery | [3, 5] |
5,839 | 5,840 | Dynamically changing properties of Label text | <p>I have text with "wild characters", like "@ARed text" where @A is sign for red colour. I need to replace @A with some function (or something like that) so wherever there is @A in text, text font becomes red coloured. I have several colours (@B, @C...) so for every of them I need to do same thing, just different colo... | c# asp.net | [0, 9] |
3,315,724 | 3,315,725 | Slide a repeated background image | <p>I have a background image with a bunch of logos that I want to gradually slide left to simulate a stock ticker. I know there are plugins to slide multiple images, but this works best in my scenario.</p>
<p>How would I progressively add on the new class, as the following:</p>
<pre><code><div class="background-sl... | javascript jquery | [3, 5] |
3,176,001 | 3,176,002 | Custom save prompt on unloading page? | <p>I'm working under asp.net and I wonder if is possible to display a custom save prompt (lets say a div with styles, a message and some buttons) when the user is trying to leave the page.<br />
I've seen the onunload and onbeforeunload js events.<br />
The <strong>onunload</strong> event seems to does not work for my ... | asp.net javascript | [9, 3] |
2,244,759 | 2,244,760 | 2 boxes, 2 dynamic maximums changing when one is set | <p>I've got this code which sets dynamic maximum values for two text boxes:</p>
<pre><code>var length = document.getElementById('firstBox'),
width = document.getElementById('secondBox');
max1 = 100;
min1 = 20;
max2 = 200;
min2 = 10;
length.onchange = function() {
var maxValue, minValue;
i... | php javascript | [2, 3] |
5,413,580 | 5,413,581 | Split only 3 letter StringBuilder | <p>My <code>StringBuilder</code>:</p>
<pre><code>StringBuilder s = new StringBuilder();
</code></pre>
<p>And the output:</p>
<pre><code>s.toString() = "ABCDEFG"
</code></pre>
<p>I just want the 3 letters of the beginning. Like "<code>ABC</code>".
What code do I need to use to do this?</p>
| java android | [1, 4] |
4,047,838 | 4,047,839 | Using javascript, get div id given x and y location | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3942776/jquery-find-element-at-a-particular-position">jquery find element at a particular position</a> </p>
</blockquote>
<p>In the browser, if I am given either 1. css locations ( top, left ) or 2. absolute loc... | javascript jquery | [3, 5] |
3,147,451 | 3,147,452 | How exactly can Python complement your C# skills for windows based development? | <p>I'm looking for a fun challenge, and am thinking about learning Python. I've heard really good things about the language. My question is, how (if at all) can Python complement the skills of a typical C# developer working mainly with MS technologies on a Windows Platform. </p>
<p>Some examples of typical C# dev on w... | c# python | [0, 7] |
186,980 | 186,981 | listview problem | <p>How to check if an a field is not empty, and show a link?<br>
i tried something like this but i get error. </p>
<pre><code><asp:ListView ID="ListView1" runat="server">
<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
</LayoutTemplate>
<... | c# asp.net | [0, 9] |
5,550,379 | 5,550,380 | PHP work with JS Jquery | <p>How do i make PHP work with JS?
I mean more like, i want to check if the user is logged in or not,
and if he is then it will:
$("#message").fadeIn("slow"); ..</p>
<p>How should i do this?
I have an idea maybe have a file that checks it in php, and then it echo out 1 or 0.</p>
<p>And then a script that checks if... | php javascript jquery | [2, 3, 5] |
3,002,559 | 3,002,560 | selector jquery on table | <p>How can I select an element specific href from a table 'xTable' that create dinamic rows</p>
<pre><code>$('#xTable >a').click(function(){
//do something
});
</code></pre>
| javascript jquery | [3, 5] |
3,185,579 | 3,185,580 | onchange event - IE error | <p>In my code behind, I have - </p>
<pre><code>tbWhatIfBeginDate.Attributes.Add("onchange", "checkDates(" + tbWhatIfBeginDate.ClientID + ", " + tbWhatIfEndDate.ClientID + ")");
tbWhatIfEndDate.Attributes.Add("onchange", "checkDates(" + tbWhatIfBeginDate.ClientID + ", " + tbWhatIfEndDate.ClientID + ")");
</code></pre>
... | c# javascript | [0, 3] |
3,753,759 | 3,753,760 | Traceview shows some methods arent being called for 200ms or more | <p>Traceview shows that updatePhysics() is being called every 10ms or so and it takes about 8ms to run. The methods that I call inside updatePhysics are only running once every 5 or 6 times updatePhysics() runs, however. Is this simply a bug of Traceview, or what is going on? My game is stuttering a fair amount, so I a... | java android | [1, 4] |
2,823,110 | 2,823,111 | Javascript function in external file is undefined when declared in a certain way | <p>myfunc() runs successfully when called from within the same js file. but it is undefined (Firebug) when called from an HTML page:</p>
<p>JS file:</p>
<pre><code>$(function() {
myfunc() {
alert('inside myfunc');
}
alert('outside myfunc');
myfunc(); //this successfully runs myfunc()
});
</cod... | javascript jquery | [3, 5] |
3,614,049 | 3,614,050 | window.Open Open popup Instead of new window | <p>I have a ajax function in jQuery and i want in compelet function open a url in new window or tab.</p>
<pre><code><a href="#" onclick="Add('1','http://www.google.com');return false;">Link</a>
</code></pre>
<p>And :</p>
<pre><code>function Add(ID, url)
{
var data = "{'ID' : '" + ID + "'}";
$.aja... | javascript jquery | [3, 5] |
1,243,846 | 1,243,847 | exclude master page js file in asp.net child page | <p>I use asp.net script manager in master page to add js files . In one of child pages i dont want specific js file to be excluded . is it possible in asp.net?</p>
<p>eg code in my master page </p>
<pre><code> <asp:ScriptManager runat="server" EnablePageMethods="true" EnablePartialRendering="true" ID="id" OnRe... | javascript jquery asp.net | [3, 5, 9] |
134,993 | 134,994 | Grouping and paging in asp.net | <p>I want to display some data in grid like control, in which every row will have some title and ot will also have paging. I searched around but did not found any solution.</p>
<p>Data will look like this</p>
<p><hr /></p>
<h2>row title</h2>
<h2>item | item | item | item</h2>
<h2>row title</h2>
<h2>item | item | ... | c# asp.net | [0, 9] |
4,746,188 | 4,746,189 | Centering EmptyDataTemplate | <p>I am using the following code to display a label if no data is found in the database:</p>
<pre><code><EmptyDataTemplate>
<asp:Label ID="no_projects" runat="server" style="color: #ff0000;" Text="[NO PROJECTS FOUND - PLEASE ADD PROJECT DETAILS]" />
</EmptyDataTemplate>
</code></pre>
<p>The labe... | c# asp.net | [0, 9] |
1,010,046 | 1,010,047 | Label Message Doesn't Appear in page | <p>i have a page with ajaxtoolkit tabpanel control and i have a label inside this tabpanel with a form view to show error message if something happen but the text of label doesn't appear in this tabpanel while it appears in other tabpanels</p>
<pre><code> <ajaxToolkit:TabPanel ID="UsersTab" runat="server" HeaderTex... | c# asp.net | [0, 9] |
3,762,906 | 3,762,907 | Dynamic onchange with Jquery | <p>I am attempting to use jQuery to dynamically populate the onChange attribute in a text field to run multiple functions. However i get an error in the console stating</p>
<pre><code>TypeError: required is not a function
</code></pre>
<p>When i type into the console required('test'); the function exists and returns ... | javascript jquery | [3, 5] |
1,247,534 | 1,247,535 | How to update a value stored in an Object on "Update" button click - Android? | <p><strong>I have the following class for an android application.</strong></p>
<pre><code>public class AccountVO
{
private String id;
private String username;
private String password;
private String email;
private String firstName;
private String lastName;
public AccountVO(String tempID, ... | java android | [1, 4] |
1,185,048 | 1,185,049 | autoresize textarea field after entering text dynamically | <p>I have a which is filled by javascript.
The text inserted to the textarea is dynamic and can have different length, thus I need the textarea to be dynamically resize after the javascript entered the text.
I would like the textarea to have max width and if it's field the text will continue to fill in the next line c... | javascript jquery | [3, 5] |
2,788,122 | 2,788,123 | animate content on click | <p>I am fairly new to jquery and would like to know if this is a legitimate way to achieve what I want. </p>
<p>I am trying to animate the content when a user clicks a link, then go to the url, and slide the content down again. </p>
<p>I Think this way has advantages (correct me if I'm wrong):</p>
<ul>
<li>This way ... | javascript jquery | [3, 5] |
5,760,929 | 5,760,930 | Detecting a 64-bit jre in a 32-bit browser? | <p>Is there any way to detect a 64-bit java install in a 32-bit environment? The Java Deployment Toolkit detects nothing, but I was wondering if there was some secret browser way of detecting the 64-bit install client-side.</p>
| java javascript | [1, 3] |
4,226,666 | 4,226,667 | out.write with android EditText | <p>I have many out.write lines of code (515 in total) that build an excel.xml file. I now need to be able to build a out.write line of code to include values from a string. Here is an out.write code line</p>
<pre><code>out.write (" <Cell ss:StyleID=\"s44\"><Data ss:Type=\"Number\">25</Data><N... | java android | [1, 4] |
3,117,038 | 3,117,039 | Get same data from another field in html form | <p>I'm new in Php/Mysql/Javascript. I'm learning it. </p>
<p>In my Html form there are 5 fields:</p>
<ol>
<li>Status</li>
<li>Email Address</li>
<li>Username</li>
<li>Password</li>
<li>Agree button. </li>
</ol>
<p>My question is "How do I get same email address to the username field ?" </p>
<p>Ex: <strong>Status</... | php javascript | [2, 3] |
3,644,948 | 3,644,949 | JQuery qq fileuploader file Drop error | <p>i'm using qq FileUploader</p>
<p>i getting an error when i try to drop file to qq FileUploader</p>
<p>NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIDOMHTMLFormElement.appendChild]</p>
<p>thx in advance</p>
| php jquery | [2, 5] |
5,876,151 | 5,876,152 | alert for confirm delete | <p><strong>Client Side Conformation</strong></p>
<pre><code>var answer = confirm ("Are you sure you want to delete!");
if (answer)
{
alert ("Deleted.");
}
</code></pre>
<p>Here I want when it ask for confirmation in place of OK and Cancel I need Yes and No. How I can provide this?</p>
| javascript asp.net | [3, 9] |
5,298,020 | 5,298,021 | how copy drawable in android? | <p>hi i would like copy a drawable in a file with android. My problems are my image file are completely black. I don't know why.</p>
<pre><code> try{
Drawable image = getResources().getDrawable(R.drawable.header);
Bitmap bitmap = Bitmap.createBitmap( image.getMinimumWidth(), image.getMinimumHeight(), Bitma... | java android | [1, 4] |
1,752,376 | 1,752,377 | Pause and Resume AsyncTasks? (Android) | <p>I have an <code>AsyncTask</code> that acts as a countdown timer for my game. When it completes the countdown it displays the out of time end screen and it also updates the timer displayed on the screen. Everything works fine, except I need to be able to pause and resume this when the pause button in the game is pr... | java android | [1, 4] |
5,107,904 | 5,107,905 | Make .find non case sensitive | <p>I can currently using:</p>
<pre><code>$results.find('a[href$=".doc"]')
</code></pre>
<p>to find anything ending with .doc for editing reasons. However, this seems to be case sensitive, i.e. if a document ends with .DOC or .Doc, it will not find those. Is it possible to make this non case sensitive?</p>
| javascript jquery | [3, 5] |
220,335 | 220,336 | Code being multiplied and all instances are running | <p>My website works in a way so that any links clicked do not load a new page but however trigger a .load() event into a div named "content".</p>
<p>Everything has been nice and dandy but now I have run into a small problem.</p>
<p>On one of the content pages, I have the following code:</p>
<pre><code> $('.count'... | javascript jquery | [3, 5] |
4,141,725 | 4,141,726 | Creating array lists using Json object file in android | <p>Please check out my following code</p>
<pre><code>String jsonString = writer.toString();
JSONObject jsonObj = new JSONObject(jsonString);
defaultCurrencyValue = jsonObj.getString(DefaultCurrencyKey);
currenciesTypes = jsonObj.get(CurrenciesKey);
</code></pre>
<p>This is what i get the valu... | java android | [1, 4] |
1,273,944 | 1,273,945 | is it possible to UnZip file in android by code? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1705844/what-is-the-best-way-to-extract-a-zip-file-using-java">What is the best way to extract a zip file using java</a> </p>
</blockquote>
<p>I have a zip file that I transfered to Android. Is it possible to un... | java android | [1, 4] |
4,160,055 | 4,160,056 | How filter Same lat,log value in one list? | <p>I have web-service which give list of property at a particular area
My problem is that all property have to show on map if any case there
are more than two properties lat and long same in list then that property will shown on same bubbles on google map I have been parse the result but I unable to filte... | java android | [1, 4] |
2,038,619 | 2,038,620 | Adding new methods and values to an object while avoiding repetition | <p>I'm struggling to learn object oriented javascript. I have an object constructor that looks like this:</p>
<pre><code>//generic object
function myObject(value1, value2, value3){
this.value1 = value1;
this.value2 = value2;
this.value3 = value3;
this.method1 =method1;
}
function method1(){
alert('hello');
}
functio... | javascript jquery | [3, 5] |
5,098,407 | 5,098,408 | how to read keyboard state outside of keyboard event? | <p>Is there a way to read keyboard state outside of a keyboard event handler? Specifically, I need to check if the shift key is down during page load. I am using jQuery.</p>
| javascript jquery | [3, 5] |
653,291 | 653,292 | how to show text area on button click? | <pre><code></html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#popup").click(function(){
// pop up a text area and I want to store value of textarea in a variable.
});
}... | javascript jquery | [3, 5] |
3,184,010 | 3,184,011 | What is the importance of Mobile middleware? | <p>I am developing one offline application for mobile(Android and IPhone).</p>
<p>I want to connect the application to one enterprise application running on Java Application server. I am using offline capabilities of the device. I want to get some master data from server and Synch back the transaction data to server e... | android iphone | [4, 8] |
5,399,767 | 5,399,768 | asp.net Tab Control | <p>I have a tab control with 2 tabs, 1 tab that validates some controls and the other tab on button click will show me a gridview. </p>
<p>The problem is that when I press the button, it validates the other tab. How can I disable the validation on this tab and on the other tab the validation is enabled. </p>
| c# asp.net | [0, 9] |
3,567,491 | 3,567,492 | how can change value of a div | <pre><code>"<div id="diva">this is div a</div>"
"<div id="divb"> this is div b</div>"
</code></pre>
<p>now how can I change the text of <code>div</code> dynamically by button click. here also mention that all text come from a database. when I click the button then it detects the <code>div</code... | php javascript | [2, 3] |
1,177,391 | 1,177,392 | Wait For All synchronization pattern in Javascript | <p>A <code>JS</code> control calls a data service and continues rendering itself without waiting for the result. Sometimes the service returns after the the controls is being fully rendered, sometimes - before. How do you implement <code>WaitForAll</code> in <code>JS</code>? I'm using <code>jQuery</code>.</p>
<p><stro... | javascript jquery | [3, 5] |
5,267,828 | 5,267,829 | logging into asp site with python | <p>I'm trying to log into <a href="https://www.surveymonkey.com/MyAccount_Login.aspx" rel="nofollow">https://www.surveymonkey.com/MyAccount_Login.aspx</a> using Python and I'm getting an error back. This is the code I'm using to log in:</p>
<pre><code>import urllib, urllib2, cookielib
username = '<my user name>'... | asp.net python | [9, 7] |
2,821,569 | 2,821,570 | How to pass the Array In jquery from C# code C# application? | <p>hi how to pass array while array is,</p>
<pre><code>double[] A={0.8446, 0.8445, 0.8444, 0.8451};
</code></pre>
<p>from c# code to Jquery i am trying like this,</p>
<pre><code><script type="text/javascript">
function Drawgraph( ){
var chart;
alert ("<%= A %>");
... | c# javascript jquery asp.net | [0, 3, 5, 9] |
136,855 | 136,856 | specific distance (white space) between columns of drop down list | <p>Before I had a question about (specific distance (space) between columns of drop down list) and I received my answer like below code, my problem is the spaces between columns will be fill by '_', when I change that to something like " ", it does not work and columns are beside each other, I need white space between ... | c# asp.net | [0, 9] |
456,423 | 456,424 | Convert PHP Function to JavaScript | <pre><code><?php
function toconv(string)
{
$gogo = array("a" => "b","cd" => "e");
$string = str_replace(
array_keys( $gogo ),
array_values( $gogo ),
$string
);
return $string;
}
?>
</code></pre>
<p>How can I implement that in JavaScript?</p>
| php javascript | [2, 3] |
4,654,692 | 4,654,693 | Local HTML file not working properly in Android Webview | <p>I have an HTML file with button, The button will popup an alert message when we click on to the button.</p>
<p>I placed the HTML file assets folder, Its correctly loading to the emulator and i can see the button but the issue i am facing is, the button click is not responsive, I cant see the popup message.</p>
<p>... | java android | [1, 4] |
4,605,538 | 4,605,539 | Is it better to store data locally or load from the web | <p>I am looking to make an Android wallpapers app and searching more information to how to build it:</p>
<ul>
<li><p>If a user does not have an SD card in their device then where should I store the wallpaper?</p></li>
<li><p>Is it better to store wallpapers locally or download them from the web?</p></li>
</ul>
| java android | [1, 4] |
856,951 | 856,952 | Style property of custom asp.net control throws exception when set | <p>I have written custom control that inherits from System.Web.UI.Control. I have added Style property like this:</p>
<pre><code>public class MyControl : Control
{
public CssStyleCollection Style
{
get { return ViewState["Style"] as CssStyleCollection; }
set { ViewState["Style"] = value; }
... | c# asp.net | [0, 9] |
4,317,365 | 4,317,366 | JQuery InnerText not including sub element | <p>Im wondering how I would get the text of a nested list item without getting the text of its children i.e.</p>
<pre><code><ul>
<li id="node">
I want this
<ul>
<li>
I dont want this
</li>
</ul>
</li>
</ul>
</code></pre>
<p>... | javascript jquery | [3, 5] |
1,124,349 | 1,124,350 | display content depending on which user in asp.net | <p>i have four differnet data entry users that will be using four different forms on my asp.net application to enter data into a database. </p>
<p>i currently have windows authentication so that the user will not see the other user's form.</p>
<p>my question is how can i send all the four groups the same link <a href... | c# asp.net | [0, 9] |
5,926,372 | 5,926,373 | Prevent Refresh 'Jump' with Javascript | <p>I've noticed that if you are on a page and you have scrolled down a good bit, if you refresh the page, most browsers will jump you back down to your position. Is there any way to prevent this? </p>
<p>I have looked at two options and neither are consistent across Webkit / Firefox.</p>
<pre><code> window.scrollT... | javascript jquery | [3, 5] |
3,593,234 | 3,593,235 | how to give permission for the user to view private doc using scribed API | <p>I am using scribd java script API to view a pdf file in my website.</p>
<p>I have uploaded one pdf file and made the pdf document private.</p>
<p>I want it to be viewed via script in my code.</p>
<p>I cant call a private document without autentication - so it does not allow me to view.</p>
<p>So i need to give ... | java javascript | [1, 3] |
2,875,036 | 2,875,037 | pause auto slide while video playing jQuery Content Gallery | <p>I have used <code>jQuery Content Gallery</code> to display my videos.Everytime I embed a youtube video in the slider, the slider will not stop while the video is playing. It keeps sliding through, but you can hear the video's audio in the background.</p>
<p>How do we compensate for this?</p>
| javascript jquery | [3, 5] |
4,167,063 | 4,167,064 | ajax control toolkit calendar for dynamically generated textboxes | <p>I have one problem.I have 30 dynamically generated textboxes as table rows in c#.net. for each of them i need to provide calendar tool. i am trying to use ajax calendar control.but it is not working.can u suggest me how to do and also some sample code?</p>
| c# asp.net | [0, 9] |
1,436,494 | 1,436,495 | apply a php function on a jquery variable | <p>how can I apply a php function on a jquery variable ?</p>
<p>I calculate the sum of products x quantity with jquery and I want to apply the current price format with a php function.</p>
<p>Thanks for help.</p>
| php jquery | [2, 5] |
773,523 | 773,524 | Android EditText line numbers | <p>I'm making a html IDE and want to add line numbers to an EditText. I tried a think TextView beside the EditText but it has its problems. Any ideas?</p>
<p><strong>EDIT:</strong></p>
<pre><code>private List<String> items = null;
private EditText ideText;
private TextView ln;
@Override
public voi... | java android | [1, 4] |
1,546,640 | 1,546,641 | jquery select check box selected values | <p><code><form id="myform"></code></p>
<p><code><input type='checkbox' name='foo[]' value='1'></code></p>
<p><code><input type='checkbox' name='foo[]' checked='true' value='2' ></code></p>
<p><code><input type='checkbox' name='foo[]' value='3' ></code></p>
<p><code><input type='checkbox' ... | javascript jquery | [3, 5] |
228,695 | 228,696 | javascript Syntax error : Unterminated string literal | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/508269/how-do-i-break-a-string-across-more-than-one-line-of-code-in-javascript">How do I break a string across more than one line of code in JavaScript?</a> </p>
</blockquote>
<p>I am getting an unterminated str... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.