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 |
|---|---|---|---|---|---|
4,825,062 | 4,825,063 | How to add contacts directly to a group without creating an account? | <p>I have this contacts that needs to be imported directly to a particular group that i created in which AFAIK that adding of contacts in an Account ,in the api seems to be broken(can't add other fields) so i implemented my own Activity to add accounts.</p>
<p>how do i add them directly to a group? </p>
| java android | [1, 4] |
5,331,950 | 5,331,951 | How to load data while scrolling horizontally and on a DIV overflow? | <p>I’m working on this horizontal scrollbar that grabs content from the database when you scroll to the farthest right. Here's an example of what we want to do:
<a href="http://designarchives.aiga.org/#/entries/+collections%3a%2250%20Books/50%20Covers%20of%202009%22/_/grid/relevance/asc/0/48/120" rel="nofollow">http://... | php javascript jquery | [2, 3, 5] |
3,572,264 | 3,572,265 | Get link value in html document with jQuery? | <p>Let's say I have a link in a table like:</p>
<pre><code> <td class="ms-vb" width="100%">
<a onfocus="OnLink(this)" href="/Lists/Business%20Divisions/DispForm.aspx?ID=2" onclick="GoToLink(this);return false;" target="_self">Train<img src="/_layouts/images/blank.gif" class="ms-hidden" alt="" width="... | javascript jquery | [3, 5] |
748,021 | 748,022 | how to pick value in jquery | <p>i have build a small function whose work to get value in alert box but i want to pick only 5 character from starting. here is my function</p>
<pre><code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1... | javascript jquery | [3, 5] |
2,872,643 | 2,872,644 | In Javascript, queuing the execution of function if the function is already executing, but cancel any previously queued | <p>I've faced the following scenario quite often so I'm wondering if there is a built-in jQuery way of solving the issue.</p>
<p>Imagine the following code:</p>
<pre><code>$(document).click(function() {
paintCanvas();
});
</code></pre>
<p>The problem with this code is that if the user clicks on the screen 50 time... | javascript jquery | [3, 5] |
253,649 | 253,650 | GridView is not shown in the content page | <p>I have a gridview in my Master page.I have taken an item template inside it. I have given some text to the controls initially.
In the design view of the content page gridview is visible but while running the page it's not showing gridview.
when i deleted gridview and put some simple text in place of it ,it's working... | c# asp.net | [0, 9] |
3,919,889 | 3,919,890 | How to use ORM in android | <p>I have to use ORM in android. I have read about the ORM from that I have understood that It is layer between Front end and Back End Database. Can any one please tell what is mean by ORM and how to use in android program. What is the advantage to use the ORM. </p>
| java android | [1, 4] |
1,442,789 | 1,442,790 | sleep in JavaScript? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/758688/sleep-in-javascript">Sleep in Javascript</a> </p>
</blockquote>
<p>I want to make a <strong>sleep</strong> function in JavaScript, I have to stop any code execution before the user performs an action (lik... | javascript jquery | [3, 5] |
2,008,952 | 2,008,953 | How can i get data from a dataset into a list? | <p>I am a newbie in Web Developing. I am using C# in ASP.net</p>
<p>I created a Dataset that includes TableAdapters.</p>
<p>I.e. for my Table Product_family i created the ProductFamilyTableAdapter that includes the following columns prfm_description1, prfm_description2, prfm_description3, etc...</p>
<p>I have a meth... | c# asp.net | [0, 9] |
2,110,396 | 2,110,397 | How to merge 2 files | <p>I want to merge two files together, i want the java code for this to work<br>
I am merging hosts files for Android, also after merging I want to save and replace the file in the original location</p>
| java android | [1, 4] |
1,553,839 | 1,553,840 | Decode MS Office double quote character? | <p>I need to decode and encode the MS Office double quote character. I used escape and unescape function in JS to escape the MS Office double quote character. But i couldn't use it in Java.</p>
<p>Is there any library to use it in Java.</p>
<p>MS Office double quote(“ ). Double quote got from keyboard ( " ). </p>
| java javascript | [1, 3] |
3,658,547 | 3,658,548 | jQuery Class Selectors: With or Without tagname? | <p>I'm trying to find a definitive answer to the old question "should i use a tag name when selecting with a class?"</p>
<p>Everywhere i look on the web for jQuery best practices, there is nearly always a point of using jQuery("tag.className"); because this uses getElementByTagName first.</p>
<p>So I've set up a benc... | javascript jquery | [3, 5] |
1,036,347 | 1,036,348 | What's the difference between Binding Data to the repeater in the mark-up or binding it programatically | <p>What's the difference between binding for example a column called ("Name") in both cases ? and is there's any performance difference ?</p>
<p>1- Assigning the data in the mark-up</p>
<p><code><asp:Label ID="Name_Lbl" runat="server" Text='<%# Eval("Name") %>' ></asp:Label></code></p>
<p>2- defini... | c# asp.net | [0, 9] |
1,577,794 | 1,577,795 | Jquery and object href confusion | <p>I've tried adding console.log, but I can't figure it out.</p>
<pre><code>$(this).href
</code></pre>
<p>Doesn't this refer to the end link location?</p>
<p>As in if </p>
<pre><code><a href="test.php">here</a>
</code></pre>
<p>And the page we are on is test.com
Does $(this).href give us "test.php" or ... | javascript jquery | [3, 5] |
3,611,132 | 3,611,133 | Track a user that is not logged in | <p>Is it possible to track not logged in user without using session or a cookie? Is there a more reliable way?<br>
Just like www.filefactory.com or other similar download space website, they can track if you are free user and send download request, before starting next download you must wait x time, I was thinking it u... | php javascript jquery | [2, 3, 5] |
4,636,255 | 4,636,256 | How can I dynamically change text based on input field? | <p>How can I dynamically change a link based upon an input field in a form. For example, if I input <code>1.00</code> into the input field, I want to change the link to this:</p>
<p><code>donate.php?amount=1.00</code></p>
<p>Where the amount changes to the amount specified in the input field.</p>
<p>I'm guessing its... | php jquery | [2, 5] |
5,908,463 | 5,908,464 | Replace numbers without change number in style or everything else by jQuery | <p>How can replace arabic number with latin number as that doesn't change number into div:style and doesn't change tag and ... ? How can done it?</p>
<p><strong>DEMO:</strong> <a href="http://jsfiddle.net/mCUvT/" rel="nofollow">http://jsfiddle.net/mCUvT/</a></p>
<pre><code><div class="myGrid">
<b style=... | javascript jquery | [3, 5] |
4,308,033 | 4,308,034 | LineNumberReader setLineNumber not working | <p>i use LineNumberReader to read text file , when call setLineNumber and getLinenumber it print == 0 But when call readLine again ์Nit thing happen how can i fix it
Here is my code</p>
<pre><code> BufferedWriter writer = new BufferedWriter(new FileWriter("text.txt"));
writer.write("This is a line1\n" +
... | java android | [1, 4] |
754,234 | 754,235 | video event listener within iframe | <p>i'm using daily motion cloud (www.dmcloud.net) to host a video which is embedded within my site as an iframe. the standard code they gave for embedding looks like this:</p>
<pre><code><iframe width="640" height="360" frameborder="0" scrolling="no" src="http://api.dmcloud.net/player/embed/50071a76947399130e000cf1... | javascript jquery | [3, 5] |
4,030,709 | 4,030,710 | DropDownList postback never finishes on iPad | <p>I've seen several posts about DropDownLists getting cleared, or events not getting fired, but they don't seem to match this situation.</p>
<p>I've got (well I've reduced the problem to) a very simple asp.net website, a master page with a content page. The content page has a single DropDownList with AutoPostback se... | iphone asp.net | [8, 9] |
1,037,215 | 1,037,216 | Is there any way to get the size in bytes of a string in Java? | <p>I need the size in bytes of each line in a file, so I can get a percentage of the file read. I already got the size of the file with <code>file.length()</code>, but how do I get each line's size?</p>
| java android | [1, 4] |
5,641,087 | 5,641,088 | Make div appear on dynamic option select | <p>I have a SELECT input that gets all of its options via the database. Below the select input, there are divs created for each option in the select. I want the user to select an option from the drop down and make the div below display. So basically the drop down are sports, and if they make a selection the sport div h... | php javascript jquery | [2, 3, 5] |
2,066,825 | 2,066,826 | Javascript file - change source at runtime from web.config | <p>I have this in my code:</p>
<pre><code><script type="text/javascript"
src="path?key=1234567890">
</script>
</code></pre>
<p>I added this in web.config:</p>
<pre><code><appSettings>
<add key="key" value="1234567890"/>
</code></pre>
<p></p>
<p>How to implement it in the above code?</... | javascript asp.net | [3, 9] |
5,409,864 | 5,409,865 | Detect multiple keys on single keypress event on jQuery | <p>Is it at all possible to combine a mixture of keypress' to fire a single event?</p>
<pre><code>$(document).keyup(function(e){
if (e.keyCode==68 && e.keyCode==69 && e.keyCode==86) {
alert('oh hai');
}
});
</code></pre>
<p>I've tried it in Chrome but the event doesn't fire.</p>
<p>Ca... | javascript jquery | [3, 5] |
3,707,610 | 3,707,611 | Calculate total value of textboxes | <p>I have 8 textboxes that only accept integers. How to calculate the total of value entered by users in each textbox and the result will be showed as a label. After user click on submit button, the the value of the label(result of numbers) will be stored in db. Anyone knows? Thank you. Looking forward to hear from u g... | c# asp.net | [0, 9] |
1,549,955 | 1,549,956 | facebook add link feature in asp.net | <p>I want to implement the functionality in which if user add the url/link of the website, should show corresponded contents and image, something very similar to facebook's add link feature. I tried using iframe but it's not the solution, I guess.</p>
| c# asp.net | [0, 9] |
601,758 | 601,759 | Variable's value not retained in the method of a class | <p>In ASP>Net using C#, I declared a variable as member of the class as follows:</p>
<pre><code>public class sales: System.Web.UI.Page
{
string type=null;
}
</code></pre>
<p>And i have an Image Button in my UI for which I've defined the event called</p>
<pre><code>protected void ImageButton2_Click(object sender, Ima... | c# asp.net | [0, 9] |
3,945,107 | 3,945,108 | create an object | <p>how can i create an object so i can get the item.
i found an example that said </p>
<pre><code> Object item2 = getListView().getAdapter().getItem(holder.position);
</code></pre>
<p>to create the object but thing is different in my class
can you help me to find how
cause i need the object</p>
<p>here is my c... | java android | [1, 4] |
458,447 | 458,448 | Tables updated on SMS Receive in Android | <p>When a contentObserver is registered for <strong>content://sms/</strong> then it is called multiple times. I found an accepted answer <a href="http://stackoverflow.com/questions/7493139/why-is-the-contentobserver-called-multiple-times">Why is the ContentObserver called multiple times?</a>. According to this answer m... | java android | [1, 4] |
2,463,093 | 2,463,094 | Converting between image file types in c# | <p>On my website, I'm receiving image files for upload. I accept files of type jpg, png, bmp or gif. If the user uploads a jpg, png or gif I want to save the file keeping the file type, but if the user uploads a bmp I want to convert it to a png.</p>
<p>I have a method stub like this:</p>
<pre><code>private void prof... | c# asp.net | [0, 9] |
1,643,485 | 1,643,486 | Going from C# to Java | <p>I've been working with C# and more generally the .Net framework for a couple of years now. I often heard about the similarity between C# & the Java language and would like to learn more about the second one.</p>
<ul>
<li>Have you got any specific advice to learn Java when coming from C# ?</li>
<li>Any common er... | c# java | [0, 1] |
4,786,418 | 4,786,419 | how to upload post directly to developer timeline using facebook integration in android | <p>Is it possible, that when user clicks on post on facebook button then content is directly shown on developer's timeline.
without user's login on facebook.</p>
<p>Anybody have any idea about it? Please help me.</p>
<p>Thanks in advance..</p>
| java android | [1, 4] |
5,759,232 | 5,759,233 | JQuery | Find all "," (comma) in an <ul> and erase them / replace with ' ' | <p>HTML</p>
<pre><code> <ul class="tabbox">
<li></li>
,
<li></li>
,
<li></li>
</ul>
</code></pre>
<p>JQuery (My Idea - does NOT work)</p>
<pre><code>$(".tabbox").replace(',' , ''); // This was my idea, and it does not work ..
</code>... | javascript jquery | [3, 5] |
3,289,208 | 3,289,209 | How can I detect with JavaScript/jQuery if the user is currently active on the page? | <p>I am needing to detect when a user is inactive (not clicking or typing) on the current page for more than 30 minutes.</p>
<p>I thinking it might be best to use event blubbling attached to the body tag and then just keep resetting a timer for 30 minutes, but I'm not exactly sure how to create this.</p>
<p>I have jQ... | javascript jquery | [3, 5] |
5,900,602 | 5,900,603 | ASP.NET - Display Message While Page Is Loading | <p>I have a page that performs a long-running task (10 to 15 seconds) in the page_load method.</p>
<p>I have client-side javascript code that will display a decent "page loading" animated gif to the user.</p>
<p>I am able to invoke the JavaScript method from the code-behind, to display the "page loading" animated gif... | c# asp.net javascript | [0, 9, 3] |
2,915,178 | 2,915,179 | What is the Problem with this kind of Data for Javascript and PHP | <p>I have a Html table which consists of the Data Generated through serverside php .It consists of many rows.Each Row Contains One Button Called "Approve" . when clicked on "Approve" it goes to one php file and does its DB transcations</p>
<p>Here is what i have Code for "Approve button " in php</p>
<pre><code>$cntr... | php javascript jquery | [2, 3, 5] |
3,128,044 | 3,128,045 | using for loop value from javascript with php variable | <p>I have this code that executes a for loop in javascript with a php array inside of it. Is there anyway I can use the variable for the loop inside of the php variable for example. This is all inside of php.</p>
<pre><code>echo '<script>
for (var i =0; i<4;i++){
alert("hey"'.$phparr[i].');
}</script... | php javascript | [2, 3] |
4,319,021 | 4,319,022 | not all code paths return a value Error | <p>I'm getting an Compilation Error with my CS file. I have a method that creates a JSON object of the user credentials.</p>
<pre><code>public string CreateLoginjson(string strErrorType, bool blIsAuthenticated)
{
StringBuilder sbLoginJson = new StringBuilder();
if (blIsAuthenticated)
... | c# asp.net | [0, 9] |
1,218,393 | 1,218,394 | nodeName for selected text in Javascript | <p>I am making a HTML text editor.
For this,i have a div with contenteditable set to true.
For making a selected text "bold",i am trying to find node of the selected text.
How should i do this or is there is any other way to implement this(particular in ie).</p>
| javascript jquery | [3, 5] |
3,185,079 | 3,185,080 | Java Equality not Behaving as Expected | <p>I'm currently working on an android application that uses a subclass of SimpleListAdapter to bind a ListActivity. The list that the Adapter binds to is of type <code>List<HashMap<String, Object>></code>.</p>
<p>I have to following If statement in the list Adapter...</p>
<pre><code>if (dataRow.get("Has... | java android | [1, 4] |
5,783,574 | 5,783,575 | how to check if input type button is pressed in php? | <p>the isset function can be used to check if input type submit is pressed but is there any way to check if the input type button is pressed?in my code the button does nothing but call a function on onclick event which then refreshes the page and makes a database entry inside php...and i want it to make the entry only ... | php javascript | [2, 3] |
881,173 | 881,174 | Passing Variables from JavaScript to PHP? | <p>I have just integrated Evercookie into my site, problem is it is written in JavaScript</p>
<p>I currently use a redirect to pass the variable to php </p>
<pre><code><script type="text/javascript">
// retrieve a cookie called "id" (simply)
ec.get("uinwish", function(value) { window.location = "http://www.... | php javascript | [2, 3] |
1,149,300 | 1,149,301 | create a set get class and pass parameter in constructor | <p>I am new to asp.net & trying create a object, but there is a syntax error</p>
<pre><code>public class pair
{
private string key;
private string value;
public pair(string key, string value)
{
this.key = this.setKey(key);
this.value = this.setValue(value);
}
private void... | c# asp.net | [0, 9] |
2,459,924 | 2,459,925 | Alarm when battery get full charged | <p>How to get information of battery status means whether its fully charged.</p>
<p>Is it possible if possible how which api should i use</p>
| java android | [1, 4] |
3,480,126 | 3,480,127 | Get simple name for the running application | <p>How can i make my code to show only the name of running application which i can kill, because in my code it show the package name and that is very confusing for the user. And also, i want it to have an icon beside the application so that the user will identify it easily. i got this code from the internet and i used ... | java android | [1, 4] |
4,242,820 | 4,242,821 | $(document).on('click', selector, function() ) combined with :not | <p>I've got several list items, when I click on the item I want the browser to redirect to ".title > a" link (href). But I don't want any event on the "notThis" selector.</p>
<p>see the example
<a href="http://jsfiddle.net/VTGwV/29/" rel="nofollow">http://jsfiddle.net/VTGwV/29/</a></p>
<pre><code><div class="item... | javascript jquery | [3, 5] |
3,530,423 | 3,530,424 | jQuery UI Slider - Disable click on slider track | <p>I'm trying to find a way to disable the click on my jQuery UI Slider's track. Clicking on the handle is ok but I do not want the handle to respond if the user clicks on the track.</p>
<p>slider set up in document.ready() as follows:</p>
<pre><code>$('#navScroller').slider({
value: 0,
start: onNavScrol... | javascript jquery | [3, 5] |
3,420,132 | 3,420,133 | How do I properly fade in and out using jQuery? | <p>Can anyone help me with this simple bit of jQuery? I am building a carousel that features many sliding <code><li></code>s. Each one has a short description accompanying it, which I want to fade out when the carousel slides, and fade in when the carousel stops at another <code><li></code>. The problem is ... | javascript jquery | [3, 5] |
5,687,014 | 5,687,015 | Is it possible to have php load and run javscript? | <p>I have a php script that runs glob on a directory, and it returns all the images it finds in the directory, with an ad from google before all the images.
I would like it if I could use glob to load 10 of the images, then insert the javascript from googles ad services, and continue loading the images. So an ad every ... | php javascript | [2, 3] |
3,203,184 | 3,203,185 | Can I add to a javascript object once its defined? | <p>I have the following javascript code:</p>
<pre><code>var oLink = {
title: $link.attr('title') || '',
row: $link.attr('data-row') || ''
}
</code></pre>
<p>Is it possible to add another field <strong>once these fields have already been defined</strong> so as to achieve:</p>
<pre><code>var ... | javascript jquery | [3, 5] |
4,822,139 | 4,822,140 | ASP.NET Javascript Hide/Show Read More for Long Text | <p>So at the moment I have a literal to which I assign a value to from database. I.e an Introduction to a programme.</p>
<p>What I am looking to do is i.e if the text is larger than 100 Characters, to only display the first 100 Characters and then display a javascript link "Read More" which when clicked displays the r... | javascript asp.net | [3, 9] |
396,120 | 396,121 | Resume timer with jQuery | <p>I am using the plugin from <a href="http://www.erichynds.com/jquery/a-new-and-improved-jquery-idle-timeout-plugin/" rel="nofollow">http://www.erichynds.com/jquery/a-new-and-improved-jquery-idle-timeout-plugin/</a></p>
<p>I want to Resume the timer. I wrote this, as I also want to get the data from server. But <stro... | javascript jquery | [3, 5] |
1,710,969 | 1,710,970 | remove object from object array | <p>Hello I was trying to remove objects from object array that I have and then create another new object (I'm using $.map() to create the new object ) </p>
<p>to remove this object from object(x) it's object.number has to match one of the number the number in array(y)</p>
<p>this following code works but i only remo... | javascript jquery | [3, 5] |
2,963,111 | 2,963,112 | Errors when EditText left blank | <p>Can anyone take a look at the below code and point out the obvious on what's wrong? The program gives an error when <code>editText</code> is left blank and only does the calculation once all the information is present. Currently the program crashes when there is text missing, why is this?</p>
<pre><code>EditText ed... | java android | [1, 4] |
2,805,164 | 2,805,165 | Checkbox outside of form | <p>Because of a design requirement, I need to place several checkboxes outside of a form. Is it still possible to include these values in the form's submit action? Maybe with javascript or some other way I'm not thinking of?</p>
| php javascript | [2, 3] |
3,776,307 | 3,776,308 | After clicking the nth item, how do I manipulate another nth element? | <p>I'm using jQuery and wanting to target the nth <li> in a list after clicking the nth link.</p>
<pre><code><ul id="targetedArea">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div id="clickedItems">
<a></a>
<a><... | javascript jquery | [3, 5] |
41,527 | 41,528 | Repeater and Custom Control - Dynamically adding to the collection and retaining values | <p>It has been so long since I've used Web Forms I find myself not remembering most of the perks.</p>
<p>I have a user control that has a button, a repeater and the ItemTemplate property of the repeater is another user control.</p>
<pre><code><asp:Button runat="server" ID="btnAdd" CssClass="btn" Text="Add" OnClick... | c# asp.net | [0, 9] |
3,964,983 | 3,964,984 | jQuery countdown timer | <p>I am using:</p>
<pre><code> $(function () {
endAuction = new Date(
data.year,
data.month,
data.day,
data.hour,
data.minute,
data.second
);
$('#defaultCountdown').countdown('destroy')
$('#defaultCountdown').countdown({
until: endAuction,
... | php jquery | [2, 5] |
4,697,079 | 4,697,080 | How can i catch number or chars using javascript or jquery | <p>I need to catch or filter a number from string example:</p>
<pre><code>var Mystring = "4.0" // or sometime 4.5
// so i need to catch .5 or .0 to replace it or eliminated
</code></pre>
<p>sorry about my English. </p>
| javascript jquery | [3, 5] |
4,380,898 | 4,380,899 | PHP/JS clock not showing user's timezone and not displaying seconds as they change | <p>I have a clock that I am tring to use on my site and it works really well as in it shows the time but there are still two things that I need it to do:</p>
<ol>
<li>I need it to display the time in my timezone, the server's timezone.</li>
<li>I need the clock to keep real time. (i.e., display the seconds as they ch... | php javascript | [2, 3] |
2,779,332 | 2,779,333 | how to check for input validation java | <p>this is what i have so far, how do i make it so it will check the the EditText boxes are empty. when i test it out with all empty boxes it will force close, why and/or how do I fix it?</p>
<pre><code>if ((x1field.getText().toString().equals("")));
{
forgetunits.setText("you have forgotten a number");
}
if ((x2f... | java android | [1, 4] |
4,716,214 | 4,716,215 | $.getJSON data not displaying in loop with ajaxSubmit | <p>I've been having a few issues trying to execute a dynamically loaded form with jquery. Here is my code:</p>
<pre><code>$(this).ajaxSubmit({
url: '/postform1.php',
type: 'post',
//target: '#preview',
success: function(msg) {
var s = msg + '<form name="sr" id="sr" action="postform.php" me... | php jquery | [2, 5] |
5,506,206 | 5,506,207 | JQuery: $.get is not a function | <p>I'm having a problem doing something very basic in jQuery. Can someone tell me what I'm doing wrong exactly?</p>
<p>If I run the code below, the function $.get seems to be missing (getJSON and others missing too). But $ itself and other functions do exist, so I know JQuery is loading.</p>
<pre><code>google.load(... | javascript jquery | [3, 5] |
715,129 | 715,130 | Script not running jquery .each | <p>This is a snippet from a puzzle game I'm trying to develop. The problem is it stops working after <code>each()</code> of jquery is called. Please help me figure out the problem. Thanks in advance.</p>
<pre><code> function setTotalInPositionPieces()
{
$("#board").children('div').each(function(index, e... | javascript jquery | [3, 5] |
4,078,910 | 4,078,911 | Is there a workaround to trigger an option.click event in IE? | <p>I am using a dropdown to allow the user to sort search results. These results in a table but not all of the sortable criteria are represented by columns. The columns can be sorted by either clicking on the column header or using a 'Sort By' dropdown. The user can reverse the sort by clicking on the sorted columns he... | javascript jquery | [3, 5] |
1,809,421 | 1,809,422 | Get a process response | <p>I am looking for a way to get a response in a form of a javascript alert after a form has been submitted using a php script. I guess ajax should do this but Im not an Ajax guy yet. A simple sample code would help a lot. Thanks for reading</p>
| php javascript | [2, 3] |
4,391,755 | 4,391,756 | ListView: disabling clicking/focus | <p>I added a header view to my ListView and it's working quite well, the problem I'm having right now is that I need to remove the default clicking/focus effect when I click the header.</p>
<p>Apart from that, is it possible to also remove the click/focus effect to some items when they are "disabled" options?</p>
| java android | [1, 4] |
2,348,343 | 2,348,344 | When do we use HashSet<> | <p>i have a small sample .</p>
<pre><code>//Class
public class GetEntity
{
public string name1 { get; set; }
public string name2 { get; set; }
public GetEntity() { }
}
</code></pre>
<p>and:</p>
<pre><code>public void GetHash()
{
HashSet objHash = new HashSet();
GetEntity obj = new GetEntity()... | c# asp.net | [0, 9] |
3,433,238 | 3,433,239 | How to dynamically add buttons with a command argument for the OnClick Event | <p>I am coming across an issue with dynamically creating buttons. I have my text I am adding to the buttons, however I also have a command argument I want to send with it. I want my dynamically created buttons to open up a new <code>Activity</code> and pass this argument via <code>Intent</code>. I am a .NET guy and t... | java android | [1, 4] |
2,734,835 | 2,734,836 | get label value in javascript through iframe | <p>i have an aspx page containing following code</p>
<pre><code><body>
<script language="javascript" type="text/javascript">
function Hidee()
{
alert(window.frames["frame1"].document.getElementById("Label1").text);
}
</script>
<form id="form1" runat="ser... | asp.net javascript | [9, 3] |
1,443,010 | 1,443,011 | display dropdownlist box option on jgrid | <p>I have a drop down list box where i display timezone with gmt hours.<br>
Now I want to display this option in Jgrid. Is it possible?</p>
<pre><code>for(..)
{
<option value=<%=tzone.getTimeZoneID() %> > <%=tzone.getTimeZoneName() %> </option>
}
</code></pre>
<p>In js file, i use </p>
<... | java jquery | [1, 5] |
3,416,547 | 3,416,548 | The Button ID does not get set to the Text of the Text Box | <p>I am creating a text box tb and a button b, and I am trying to set the ID of the button to the text of the Text Box, however, the ID is set to empty string, and not to the string that is entered in the text box.
Need help!
Thank you.</p>
<pre><code> Button b = new Button();
b.Text = "Comment";
TextBox t... | c# asp.net | [0, 9] |
2,578,291 | 2,578,292 | How can I prevent spam while letting users email content to their friends? | <p>I'm working on an app (in PHP & JavaScript) that lets users generate content (short stories), and I want to add in a "email this to your friend" button.</p>
<p>I'm worried, though, that this could be used to send spam.</p>
<p>What are some things I could do to prevent that from happening? I am thinking:</p>
<... | php javascript | [2, 3] |
5,902,664 | 5,902,665 | Autocomplete textbox | <p>I need to develop a autocomplete textbox customcontrol. Please any ideas or sample code. I need to fetch data from database to populate this control</p>
| c# asp.net | [0, 9] |
4,298,493 | 4,298,494 | Javascript Instragram-style functionality | <p>Is there an Javascript or JQuery Instagram style api or website out there?</p>
<p>I was convinced that something called jsFilter (or similar) did exist, and that this enabled me to create 70s style photo filters. I would be interested in accessing any available APIs, should they exist</p>
<p>Edit: Fair point re ex... | javascript jquery | [3, 5] |
4,314,647 | 4,314,648 | I want to change combobox when mouse is on it or when its not | <p>in my application i need ... if a user click on combobox it will work as usual like show all the list and when mouse is not on any of item or on combobox...then that combobox should take its default position .... that mean it must compress again </p>
<p>in jquery or javascript..you can post your answer ...
i just ... | javascript jquery | [3, 5] |
728,347 | 728,348 | Store the text entered by the user as it is in the database C# | <p>How to store the text entered by the user as it is in the database. Suppose if the user entered the text in proper case then the data should be stored in proper case in the database. If the user entered the text in upper case then the data should be stored in upper case and likewise. I am changing the textbox style ... | c# asp.net | [0, 9] |
2,219,837 | 2,219,838 | How in Android do I centre text that changes per second? | <p>I've got some Android code that works fine to make a piece of text count down...</p>
<pre><code>final TextView mTextField = new TextView(this);
mTextField.setTextColor(Color.RED);
mTextField.setTextSize(25);
mTextField.setTypeface(tf);
final Handler handler = new Han... | java android | [1, 4] |
5,469,731 | 5,469,732 | executing runOnUiThread on a seperate class. | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/7860384/android-how-to-runonuithread-in-other-class">Android how to runOnUiThread in other class?</a> </p>
</blockquote>
<p>My Asyn Classes are a separate class file. </p>
<pre><code>public class AdamTask exten... | java android | [1, 4] |
4,135,122 | 4,135,123 | jquery POST method callback function query | <pre><code>$("#submit_js").click(function() {
var commentmsg = $('#comment').val();
$.post(
"user_submit.php",
{comment: $("#comment").val(), aid: imgnum, uid:$("#uid").val()},
function(data){
/*alert(data);*/
//$('#greetings'... | php javascript jquery | [2, 3, 5] |
5,992,997 | 5,992,998 | how to select text naturally with jquery? | <p>Due to copyright laws and licensing agreements, I'm unable to allow copy+paste on certain parts of text we're displaying. So selecting is disabled and right click is disabled. It sucks, I know, but unfortunately its part of playing the game and remaining in business.</p>
<p>With jquery, I've been able to allow th... | javascript jquery | [3, 5] |
3,439,687 | 3,439,688 | What's the purpose of creating jQuery code inside this elements like this | <pre><code> (function ($) {
...
} ) (jQuery);
</code></pre>
| javascript jquery | [3, 5] |
5,169,383 | 5,169,384 | Javascript Reference Comprehension | <p>I have been learning some of the more detailed loopholes of JS here and there, and have a few things I need to get help on.</p>
<pre><code>;(function($){
$.fn.makeRed1 = function() {
return $.each(this, function() {
$(this).css('background-color', '#FF0000');
});
}
})(jQuery)
;... | javascript jquery | [3, 5] |
3,347,932 | 3,347,933 | How to get the value of usercontrol in codebehind of page | <p>How to get the value of usercontrol to page holding usercontrol?</p>
| c# asp.net | [0, 9] |
134,817 | 134,818 | Jquery how to run a function only if condition is true | <p>I have a function that check if CSS value exists,
the problem is that I need the function to work only when the CSS class exists,
currently the function running all the time because I'm using else condition (that need to re do the if condition).</p>
<pre><code> //use for @media only screen and (max-width: 767px) de... | javascript jquery | [3, 5] |
672,787 | 672,788 | Object Reference is null when creating the object | <p>I've tried searching around, but most of the answers were about instantiating a list that doesn't exist or otherwise isn't exactly what I'm looking for. Most of the questions I've come across weren't using the "new" keyword.</p>
<p>Here's what I've got:</p>
<pre><code>using (SqlCmd cmd = new SqlCmd("SELECT * FROM ... | c# asp.net | [0, 9] |
880,846 | 880,847 | Cant make jQuery animation work | <p>I am trying to make the top div fade out when it is clicked, but i cant get it to work. Here is my code:</p>
<pre><code><script type = 'text/javascript' src = '../Javascript/jquery/jquery-1.6.2.js'></script>
<script type = 'text/javascript'>
$(document).ready(function() {
$('#topcontent').clic... | javascript jquery | [3, 5] |
5,365,915 | 5,365,916 | How to access a data key? | <p>I have a <code>GridView</code> with textboxes in its cells. A JavaScript function is called on changing textbox's contents. I want to pass to the function a data key of the row to which the textbox belongs, but don't know how I can do that.</p>
<p>The following gives me an error message:</p>
<pre><code> <asp:Te... | c# asp.net | [0, 9] |
3,062,612 | 3,062,613 | Find serial number of child | <p>Suppose that I've a given html code:</p>
<pre><code><ul class="fmenu123">
<li>city</li>
<li>service</li>
<li>hour</li>
</ul>
</code></pre>
<p>There are in jquery function <code>children</code> and selector <code>nth-child</code>. But how could I find a se... | javascript jquery | [3, 5] |
4,458,277 | 4,458,278 | Asp.net loses connection to remote share | <p>I have two webservers that rely on a single file-share to read/write files to. All three computers are in the same domain, and ASP.NET impersonates a domain-user to get the access rights to the share. The applicatin accesses the share via UNC-path</p>
<p>But the latest nights, there has been occuring some problems ... | c# asp.net | [0, 9] |
1,956,114 | 1,956,115 | jQuery / iScroll - Scrolling panel with clickable images | <p>I have a scrolling panel (using <a href="http://cubiq.org/iscroll-4" rel="nofollow">iScroll4</a> & jQuery) to navigate a horizontal list of thumbnails, like below.</p>
<p><img src="http://i.stack.imgur.com/qB1du.png" alt="enter image description here"></p>
<p>Using my mouse, I can grab and slide this panel nic... | javascript jquery | [3, 5] |
4,820,727 | 4,820,728 | How to capture the onload event of a window with attachment response? | <p>I have the following download request in javascript:</p>
<pre><code>var exportWindow = window.open('Download.ashx?source=1', '');
exportWindow.onload = function() {
alert('finished');
};
</code></pre>
<p>My problem is that the above alert box does not appear.
The download.ashx sets up the following response (... | asp.net javascript | [9, 3] |
5,125,018 | 5,125,019 | Getting the values in a dropdownbox from javascript | <p>Does anyone know how to get the values from an asp dropdownbox (not just the selected one) using javascript?</p>
| asp.net javascript | [9, 3] |
103,125 | 103,126 | Auto scroll bottom unless moving scroll bar | <p>I have a simple function that scrolls a div to the bottom so that the user can see the most recent log messages. However people have been wanting to scroll up to look at previous messages.</p>
<p>Is there any way of making it so it will scroll to the bottom automatically, but if the user is moving the scroll bar, t... | javascript jquery | [3, 5] |
149,432 | 149,433 | find missing range from array of ranges | <p>I am having array of my class that having Minvalue and Maxvalue property.</p>
<p>Suppose in my array i am having three elements</p>
<pre><code>First MinValue=0 and MaxValue=25
Second MinValue=26 and MaxValue=50
Third MinValue=75 and MaxValue=100
</code></pre>
<p>Minvalue and Maxvalue can be between 0 to 100.</... | javascript jquery | [3, 5] |
1,222,542 | 1,222,543 | Show and Hide Div for the text that comes dynamically | <p>I have a problem where we have to show/hide some text in the product description in the product detail page. The description has to be shortened upto desired number of lines and by clicking on "more" complete description is to be shown. I taken the following script from the link below: </p>
<blockquote>
<p><a hr... | javascript jquery | [3, 5] |
954,660 | 954,661 | Returning false on link click jquery | <p>I wish to have a link which opens popup when clicked however I wish it to open a page in a new window if the user doesn't have JS enabled.</p>
<p>The following doesn't seem to work,</p>
<pre><code><a id="tac-link" target="_blank" href="tac.html">terms and conditions</a>
function popUp(URL) {
day = new... | javascript jquery | [3, 5] |
1,315,855 | 1,315,856 | How do I perform an action on mousedown when a certain element is NOT clicked | <p>Below is the code that I want to execute a command if the click is not on the rl_menu / any of it's child elements (.comment, .rl_arrow, etc)</p>
<pre><code>TBR.mouse_down = function(e){
target = $j(this)
if (target != $j("#rl_menu") && target != $j("#rl_menu .comment") &&
target != $j("... | javascript jquery | [3, 5] |
4,112,692 | 4,112,693 | Passing PHP session to external ASP app | <p>I have been asked by a client if it was possible to build a PHP site which will pass sessions to an other app located on a different server which uses ASP. </p>
<p>I was wondering if any of you had a prior experience with this ? And if so how problematic can this task be? Is there any resources that you would recom... | php asp.net | [2, 9] |
3,188,279 | 3,188,280 | Issue in conditionally preventing the default action of anchor tag | <p>There is an anchor tag: inventoryHome which takes the user to a different page.</p>
<p>If the size of rateMap is greater than 0, I need to show a confirmation pop-up confirming if the user wants to discard the unsaved changes.</p>
<p>The method navigateToInv() is called if the user confirms the discard.</p>
<p>In... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.