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 |
|---|---|---|---|---|---|
1,555,689 | 1,555,690 | Issue with draggable cloned elements | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/10672180/jquery-draggable-and-resizable-is-not-working-on-cloned-div">jquery draggable and resizable is not working on cloned div</a> </p>
</blockquote>
<p>I have a <code>div</code> with draggable and resizable ... | javascript jquery | [3, 5] |
4,256,587 | 4,256,588 | In javascript/jquery what is the best way to convert a number with a comma into an integer? | <p>I want to convert the string "15,678" into a value 15678. parseInt and parseFloat are both returning 15 for "15,678." Is there an easy way to do this?</p>
| javascript jquery | [3, 5] |
5,247,671 | 5,247,672 | how to do this style slide navigation? | <p>eg: the main navigation is "one","two","three","four".
the child navigation is "welcome to our site" this navigation under the main nav "one".
the "two1","two2","two3","two4" belongs two,
the "three1","three2 belogs to main nav "three"</p>
<p>now, i want to get when the mouse hover on one, the "welcome to our site... | javascript jquery | [3, 5] |
1,150,060 | 1,150,061 | Changing action bar menu color | <pre><code>ActionBar bar = getActionBar();
bar.setBackgroundDrawable(new ColorDrawable("COLOR"));
</code></pre>
<p>How to change the action-bar menu color. </p>
<pre><code><item android:id="@+id/about" android:title="@string/about"
android:showAsAction="never" />
<item android:id="@+id/help" android:tit... | java android | [1, 4] |
2,918,550 | 2,918,551 | Commenting parts of a blog post or document with jquery | <p>I am interested in making an addon to an existing site where there is a system where users can post information, sort of like a blog post, and then regular comments like you see on any page are shown below the content of the post.</p>
<p>However I have been considering using something like this <a href="http://www.... | javascript jquery | [3, 5] |
3,557,253 | 3,557,254 | function not seeing newly added classes | <p>I have a navigation that fades in and out the text color on a mouseover. It does this based on inactive class.</p>
<p>It works perfectly except for the page that is initially active.</p>
<p>When I change pages (via ajax) I add the 'inactive' class to the element that was previously 'active' but my function doesn't... | javascript jquery | [3, 5] |
636,919 | 636,920 | php, jquery only first id working normal | <p>I have the following code in .php (code is edited for easier understanding).</p>
<pre><code>while($row = mysql_fetch_array($biznis)){
<div id='listItem'>
<div id='listPic'>
<img src='../../social/images/avatar/empty_avatar_full.jpg'></img>
</div>
<div id='listCon... | php jquery | [2, 5] |
42,509 | 42,510 | why cookies are always null after postback | <p>i am trying to maintain some data into cookies but after postback if i check the value of the cookies in pageload the value is always null</p>
<p>this is how i set and get the cookies</p>
<pre><code>private static string GetCookie(string name)
{
return HttpContext.Current.Response != null ? HttpContext.Current... | c# asp.net | [0, 9] |
3,888,736 | 3,888,737 | Ignore a property while using jquery $.extend()? | <p>Is there an efficient way to clone an object yet leave out specified properties? Ideally without rewriting the $.extend function?</p>
<pre><code>var object = {
"foo": "bar"
, "bim": Array [1000]
};
// extend the object except for the bim property
var clone = $.extend({}, object, "bim");
// = { "foo":"bar" }
</... | javascript jquery | [3, 5] |
4,059,583 | 4,059,584 | validation, multiple radio button in each row | <p>I am displaying three radio buttons in each row for each employee, how to validate for empty check. </p>
<pre><code><td><input type="radio" name="stf_att_<?php echo $stf_id ;?>" value="p" /></td>
<td><input type="radio" name="stf_att_<?php echo $stf_id ;?>" value="a" />&... | php javascript | [2, 3] |
2,450,511 | 2,450,512 | Why will the following line crash my Android app? | <p>The following line, no mather where placed where will crash my Android program.</p>
<pre><code>EditText editText1;
double pro = Double.parseDouble(editText1.getText().toString());
</code></pre>
<p>Additional code:</p>
<pre><code> <EditText
android:id="@+id/editText1"
android:layout_width="wrap_... | java android | [1, 4] |
5,462,623 | 5,462,624 | adding a class in the navigation menu | <p>Considering the case, that I have the following menu:</p>
<pre><code><ul>
<li><a href="index.php">Index</a></li>
<li><a href="about.php">About</a></li>
<li><a href="test.php">Test</a><li>
</ul
</code></pre>
<p>And the menu is located ... | php javascript jquery | [2, 3, 5] |
639,576 | 639,577 | Comparing comma separated strings | <p>I have 2 string's </p>
<pre><code>string1="fruit,animal,vehicle";
string2="plane,fruit,culture,animal";
</code></pre>
<p>So if i compare string1 and string2 it should say true since fruit,animal is present in the string in both the strings else
false if nothing is present. </p>
| javascript jquery | [3, 5] |
427,782 | 427,783 | min and max jQuery character counter | <p>There are many max character counters in jQuery.</p>
<p>Has anyone found any useful <em>min</em> character counters?</p>
<p>I'm looking for something like what StackOverflow uses when creating a comment: </p>
<p><img src="http://i.stack.imgur.com/PHSzl.png" alt="n chars to go"></p>
| javascript jquery | [3, 5] |
997,319 | 997,320 | How to handle enter event of multiple text boxes which invoke input button clicks event? | <p>I have 3 asp.net text box and an html input botton, when enter is pressed in any of the above text boxes input button click event must be fired.My code is</p>
<pre><code> <li class="right2">
<asp:TextBox ID="txtPassportNumber" ClientIDMode="Static" MaxLength="20" CssClass="textEntry"
... | javascript jquery asp.net | [3, 5, 9] |
3,110,851 | 3,110,852 | Dynamically created divs get hidden after postback | <p>I have several divs in a nested gridview which are bound to att runtime with the command div id="div<%# Eval("id") %>". I then set the visibilty of the div via javascript. The problem is that the visibilty setting isnt retained between postbacks. (Im using a filter feature that filters the rows in the nested grid... | c# asp.net | [0, 9] |
1,446,485 | 1,446,486 | How to select parent div of a form in JQuery? | <p>here is what i got</p>
<pre><code><div id="right">
<from id="test">
<input type="submit">
</form>
</div>
</code></pre>
<p>and a lil jquery</p>
<pre><code> $(document).ready(function(){
$('form').submit(function()
{
... | javascript jquery | [3, 5] |
5,840,600 | 5,840,601 | Develop android and iphone app | <p>I'm gonna develop a small app both for android and Iphone. The app will contain a simple little online magazine. I have not done any app before. I work with developing Web pages in asp.net c# and I'm familiar with java. So I'm a beginner in terms of mobile apps, and now I'm wondering how to begin and where to find g... | android iphone | [4, 8] |
719,705 | 719,706 | Downloading files in an Android 3.0 browser from my ASP.NET site | <p>I'm having an issue downloading a PDF file from my custom asp.net site in the out of the box browser on an Android tablet (a Motorola Xoom).</p>
<p>I'm using Response.OutputStream.Write to send the file because it's having to read the file from a UNC path. This method works on IE, Firefox, Safari, and on iPad, but ... | c# android | [0, 4] |
1,876,059 | 1,876,060 | How to trigger sound whenever a user clicks an element | <p>How can I play an mp3 or wav sound using the jquery click event?</p>
<p>i want to add click sound not any track or song</p>
| javascript jquery | [3, 5] |
5,576,061 | 5,576,062 | Get anchor href attribute using JQuery | <p>I have a button with the following javascript function:</p>
<pre><code>function getHyperLink(){
window.getSelection().anchorNode.parentNode.attributes["0"].nodeValue;
}
</code></pre>
<p>What i do is i highlight a text which contains a hyperlink, i then press the button and want go get the link from selected text... | javascript jquery | [3, 5] |
5,683,112 | 5,683,113 | simple jquery on asp.net does not work on firefox | <p>I have been struggling with getting this work on Firefox. Hope there is somebody help me!</p>
<p>Basically; Firefox ignores the button click function and it's sub functions and the button posts the page instead of running the jquery code.</p>
<p>It works on IE and Chrome but not on Firefox.</p>
<p>Thank you for y... | javascript jquery | [3, 5] |
405,932 | 405,933 | Looping through list items with jquery | <p>I have this block of code</p>
<pre><code>listItems = $("#productList").find("li");
for (var li in listItems) {
var product = $(li);
var productid = product.children(".productId").val();
var productPrice = product.find(".productPrice").val();
var productMSRP =... | javascript jquery | [3, 5] |
5,701,871 | 5,701,872 | How can I use a JavaScript file in my ASP.NET project? | <p>I want to use a JavaScript file, lying in the root folder. How can I include that JS file?</p>
| asp.net javascript | [9, 3] |
3,847,249 | 3,847,250 | Intercepting HTTP event using JQuery | <p>I have this JQuery code working however I need to know whether how to actually get the URL executed from the tags selected. </p>
<pre><code>$("link, script, style, a, img").each(function(){
$(this).load(function(){
// get the URL and log it
console.log("Interc... | javascript jquery | [3, 5] |
5,579,178 | 5,579,179 | Find out if X509Certificate2 is revoked? | <p>How can I figure out if an <code>X509Certificate2</code> has been revoked?
I assume the <code>Verify()</code> method checks it, but it doesn't explicitly state it in the help.
Does anybody know?</p>
<p>Also: does the Verify() check if the certificate is expired?</p>
| c# asp.net | [0, 9] |
4,304,987 | 4,304,988 | How to implement web camera for video conferencing in asp? | <p>I want to create a asp web application for video conferencing, how i can implement this?
Thanks...</p>
| c# asp.net | [0, 9] |
5,357,763 | 5,357,764 | Add UserControl to page From another class | <p>I have page and call method inside my page. I want to add some control to my page Control (not page itself) inside that method.</p>
<p>My Default.aspx : </p>
<pre><code><%@ Page Title="Home Page" MasterPageFile="~/Site.master" ... %>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="Ma... | c# asp.net | [0, 9] |
569,955 | 569,956 | Save Gridview data as Template | <p>I have a report generated in Gridview and I want to save the report as a template for later retrieval. I do not want to export to excel. The template should available for user to retrieve and see whenever he logs in. I am using VS 2008 and C#/ASP.NET</p>
<p>I do format the gridview data source according to some bus... | c# asp.net | [0, 9] |
5,235,057 | 5,235,058 | How do you make jQuery's .offset() work? | <p>I'm working on a web app that I need to know the coordinates of an element relative to the web page. This seems like it should be simple with jQuery's offset(), however it is not working for me.</p>
<p>Here is the code I am using to find the offset:</p>
<pre><code> var offset=$('#container').offset();
alert(offse... | javascript jquery | [3, 5] |
5,036,474 | 5,036,475 | How to find website refer using Javascript? | <p>How would I find which website referred to the my website using Javascript? For exmaple, if A.com had a link to B.com (my website), how could I tell who referred to my website?</p>
<p>Thanks</p>
| javascript jquery | [3, 5] |
2,988,826 | 2,988,827 | Pass string parameters to master page | <p>Hi folks<br />
I'm using C# language Asp.net version 3.5 I have a masterpage and pages which they use master. I think there are three ways to implement my application with ability passing parameters between controller to pages.<br />
<br /><b>First Way :</b>
I need to pass a string parameter from page to master how ... | c# asp.net | [0, 9] |
1,513,648 | 1,513,649 | jQuery 1.4 change(), checkbox and IE | <p>I have a page with a checkbox that is set to checked when the page is loaded. If/when the checkbox is unchecked I need to run a function. The following code works fine in all browsers with the exception of IE. In versions 7 and 8(haven't even tested 6) it works but you are required to uncheck it, check it, then on t... | javascript jquery | [3, 5] |
1,591,154 | 1,591,155 | How to get the Win32_battery class information of the battery connected to computer through RS 232 Interface? | <p>I need to get the battery information (Win32_battery class) (using WMI) of the battery connected to the PC through RS 232 Interface(C#.NET app). Can any one help me to get this information?</p>
| c# c++ | [0, 6] |
1,840,560 | 1,840,561 | Run the button event handler before page_load | <p>I have a table with all the objects I have in my db. I load them in my Page_Load function. I have a text field and a button that when clicking the button, I want the handler of that click to put a new object with the name written in the text field in the db.</p>
<p>Now, I want that what happens after the click is t... | c# asp.net | [0, 9] |
1,737,044 | 1,737,045 | ASP.net download page | <p>I have a Reports.aspx ASP.NET page that allows users to download excel report files by clicking on several hyperlinks. When a report hyperlink is clicked, I open a new window using the javascript window.open method and navigate off to the download.aspx page. The code-behind for the download page creates a excel file... | asp.net javascript | [9, 3] |
156,994 | 156,995 | Refresh page data when button is clicked inside a usercontrol | <p>I have a page which displays data from a web service. It first checks if the data exists in session, and then gets it from the WS if not.</p>
<p>My control calls the web service and adds another row to the data (an SP list in this case). If the new item was added successfully, I want to refresh the list in session.... | c# asp.net | [0, 9] |
4,427,455 | 4,427,456 | Select folder intent & Work out when intent complete? | <p>So I'm making a wallpaper and I want the user to select a folder. So I
have a button in the preferences that launches an intent to open an
image, but what I want is actually just a directory (I guess in the
worst case i can strip the filename from the end). So that's my first
problem: what's the best way to select a... | java android | [1, 4] |
1,730,400 | 1,730,401 | Adobe Flash at IOS | <p>Does IOS support Flash? I am thinking to make some games in Flash For IOS and Android, Any help</p>
| iphone android | [8, 4] |
2,923,597 | 2,923,598 | dynamically added images not getting added on page when toggel function in Jquery is used | <p>Below is code to add images in Javascript.</p>
<pre><code>function AddFirstRow() {
//Create an input type dynamically.
var element ;
var seatArr = document.getElementById("seatArr");
//Assign different attributes to the element.
var rowCounter ;
for( rowCounter = 1 ; rowCounter < 8 ; ro... | javascript jquery | [3, 5] |
1,502,246 | 1,502,247 | width() not returning a value | <p>I have an image in a page that I am trying to get the width of. </p>
<pre><code><img class="zoomerIcon" src="zoomer.png" />
</code></pre>
<p>So I'm trying to get the width like this.</p>
<pre><code>var imageWidth = $('.zoomerIcon').width();
</code></pre>
<p>However the value is 0 unless I set the width pro... | javascript jquery | [3, 5] |
3,785,936 | 3,785,937 | Dynamic table with multiple datepickers | <p>I have a web form which has dynamic table using repeating rows. New rows are added by calling the addRow function below:</p>
<pre><code>function addRow(tableID) {
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var... | php javascript jquery | [2, 3, 5] |
3,061,408 | 3,061,409 | Combining retrieved values with javascript and jquery | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1133770/how-do-i-convert-a-string-into-an-integer-in-javascript">How do I Convert a String into an Integer in JavaScript?</a> </p>
</blockquote>
<p>I have a select element that contains options for products. Wha... | javascript jquery | [3, 5] |
3,826,042 | 3,826,043 | jQuery, same function for multiple ids | <p>i want to clear specified input if the value is not number. function works for one ID, but i want it to work for multiple. of course i can write function multiple times but i dont want to do that.</p>
<p>the following code gets effect only for input with id "d". i dont know how to identify other ids. can anyone hel... | javascript jquery | [3, 5] |
4,257,049 | 4,257,050 | How can I get Date in MM/DD/YY format from Timestamp | <p>I want to get the Date in MM/DD/YY format from the timestamp. </p>
<p>I search many but I dont get any Idea...</p>
<p>I use below method but It not gives proper output</p>
<pre><code>final Calendar cal = Calendar.getInstance();
cal.setTimeInMillis(Long.parseLong(1306249409));
Log.d("Date--",""+cal.DAY_OF_MONTH)... | java android | [1, 4] |
2,959,124 | 2,959,125 | Dynamically get drawables by ID | <p>I want to take a <code>byte</code> and append it to a resource ID to be able to get the image that corresponds to that numbered deck in the game. It was easy to with paths on other devices, but with the Resource ID's I am unsure how I could go about do this.</p>
<p>Here's what I have now:</p>
<pre><code>switch(Ga... | java android | [1, 4] |
1,221,572 | 1,221,573 | how to catch the table data td value? | <p>How to catch the td value in jquery on mouse click event? I have done these things in pure js but it is lengthy. Can jquery have easy solution? I want to add those catch value in the form text field.</p>
| javascript jquery | [3, 5] |
3,279,132 | 3,279,133 | Creating buttons and separating there functionality android | <p>my app have action bar on top of windows. Where are some buttons. Buttons count and there functions is changing depending on activity user are.</p>
<p>I want to write a class with methods <strong>addFirstButton</strong>, <strong>removeFirstButton</strong> and so on.
So i other classes i want to do this:</p>
<pre>... | java android | [1, 4] |
2,934,774 | 2,934,775 | dynamic image source? | <p>I'm entirely new to jQuery and am trying to use a plugin carousel, however it is a bit confusing. I have it installed now, and I am trying to get rid of it's bottom scroll bar and automate it. The code to make enable auto according to the manual is: </p>
<pre><code><script type="text/javascript">
jQuery(... | javascript jquery | [3, 5] |
2,401,968 | 2,401,969 | AES Encryption done on both Iphone and Android | <p>We are creating same project in android and iphone. Now problem is that we need to send user information to aspx server using webservice in encrypted form. We both have implemented it but results are diiferent so is there a common AES encryption method which will produce same result and can be parsed at server.</p>
... | android iphone | [4, 8] |
295,845 | 295,846 | How to avoid @SuppressWarnings with anonymous inner classes in Java? | <p>I'm struggling with smarter coding style in usage of anonymous classes.</p>
<p>How can I use anonymous inner class WITHOUT
@SuppressWarnings
in the case below?</p>
<p>When using anonymous classes like this way:</p>
<pre><code>someMethod( new Y(){
// non-overriding public method
public void echo1(){
... | java android | [1, 4] |
5,596,259 | 5,596,260 | Redirection not happening when clicking on button | <p>I am trying to redirect the user to a different page upon clicking on a button and stop any asp related events if it meets the validation in the if() statement in javascript, the reason why i am doing it like this is because on a specific page.. it is not grabinhg the On_Click event for some reason. While debugging ... | c# asp.net | [0, 9] |
1,727,872 | 1,727,873 | Get error exception when using the sleep function | <p>I want to delay my application for a while while a melody is playing, and when it's finished change the image on an imageview.</p>
<pre><code>public void addListenerOnButtons() {
harmonicaTecknad= (ImageView)this.findViewById(R.id.harmonicatecknadspelautblas);
harmonicaTecknad.setOnClickListener(new OnC... | java android | [1, 4] |
231,882 | 231,883 | Remember the selected value once refreshed the page | <p>In a page containing a form with select fields, I need to remember the previuos choice (if any) of, for example, the selected state. I want to do it via PHP embedded in JS, where I'm wrong?</p>
<pre><code><script>
<?php
if(isset( $_GET["state"] )){
$selected_state = $_GET["state"];
?>
$("#state option[... | php javascript jquery | [2, 3, 5] |
2,925,592 | 2,925,593 | change css classes of element added to DOM at runtime | <p>I've included some JavaScript from a third party in my page. This adds the following element to the page some time after the page is loaded:</p>
<pre><code><a class="foo">some link</a>
</code></pre>
<p>I need to ensure that this is changed to:</p>
<pre><code><a class="bar">some link</a>
</... | javascript jquery | [3, 5] |
5,973,294 | 5,973,295 | Why can't I remove an attribute of all children? | <p>I have a cloned div containing input elements, all of which are disabled. I am trying to use the following JQuery code to remove the disabled attribute of each of the div's children.</p>
<pre><code>clonedElement.children().removeAttr('disabled');
</code></pre>
<p>I do not have a ton of JQuery experience, so I am p... | javascript jquery | [3, 5] |
1,669,008 | 1,669,009 | jQuery function for checking a check box checked and do an action for it | <p>I want to write one function in <strong>jQuery</strong> that it can recognize when user checked a check box on my page then it know and in real time (it means when user checked check box then label of this <code>td</code> that <code>check-box</code> and one <code>label</code> are there <strong>change col... | jquery asp.net | [5, 9] |
281,974 | 281,975 | Is it possible to pass '$(this)' on to a delegated user function in jQuery? | <pre><code>function myfunc() {
alert($(this));
}
$("#SELECTOR").delegate("SELECTOR","click",myfunc);
</code></pre>
<p>This is about clicking on different images, therefore, I'd really love to use the $(this) variable in my user function.</p>
<p>Is that possible? Is there any workaround?</p>
| javascript jquery | [3, 5] |
5,569,541 | 5,569,542 | Detecting collisions and and walking around obects | <p>I am writing a program for an Android phone (Which uses Java as the programming language)</p>
<p>I am writing a game that needs objects to - move around - other objects. For example: if an object was to move from point A to point B and there was another game object in the way, it would move around it.</p>
<p>I a... | java android | [1, 4] |
1,734,796 | 1,734,797 | jQuery: Selecting the text when p contains a listpoint | <p>I've got some comments in a guestbook. p containins '(In [ 'sometimes. The '(In [' sometimes contains a list.</p>
<pre><code> <div class="comment searchable">
<p>
(In <a class="changeset" href="/../" sets mynumber">[Phonebook]</a>)
</p>
<ul><... | javascript jquery | [3, 5] |
5,396,850 | 5,396,851 | How do I update content in the parent window of the Iframe I am in with jQuery | <p>If I am inside the contents of iframe_2 how do I change the text of header_2?</p>
<pre><code><h3 id="header_1"></h3>
<iframe id="iframe_1"></iframe>
<h3 id="header_2"></h3>
<iframe id="iframe_2"></iframe>
<h3 id="header_3"></h3>
<iframe id="iframe_3">... | javascript jquery | [3, 5] |
3,209,144 | 3,209,145 | jquery image replace? | <p>when click on More Button the picture of More button and Featured will be changed and when you click agin on the More button the image should be the same as what it was the first, but it isn't.</p>
<pre><code>$(document).ready(function(){
$('#buy_now').hide();
$('#more').click(function() {
$("#mor... | javascript jquery | [3, 5] |
5,119,271 | 5,119,272 | Swap + (plus) with space in string | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3803716/how-can-i-decode-a-url-with-jquery">How can I decode a URL with jQuery?</a> </p>
</blockquote>
<p>Could somebody please help me to take a string (i.e. URL parameter) and remove the +(plus) or %20 to a re... | javascript jquery | [3, 5] |
3,790,659 | 3,790,660 | How to create a runat server DIV in the behind code ? ASP.NET & C# | <p>I'm creating multiple DIVs according to database records at my C# behind code. How could I make them runat server ? </p>
<p>Thanks in advance .. </p>
| c# asp.net | [0, 9] |
1,164,660 | 1,164,661 | What is the fastest way to assign a variable in a class that implements Runnable? | <p>I have a class A that has a class B object. Class B has a boolean variable bool that the A instance keeps updating (off events). The B object b implements Runnable.</p>
<pre><code>class A{
private B b;
}
class B implements Runnable{
private boolean bool;
run(){
while(true){
if(bool){//do something... | java android | [1, 4] |
3,538,068 | 3,538,069 | How to create delay before ajax call? | <p>I am using jQuery 1.8. </p>
<p>I have a series of checkboxes that a user can check to get information on particular product. When the box is check, a function is called and loads the product info into a div. CURRENTLY, the function fires immediately after each click. So, if the visitor checks all five boxes, the ... | javascript jquery | [3, 5] |
1,953,080 | 1,953,081 | How to implement a background socket listener for Android? | <p>I have an android app that listens for json commands over a socket. I am wondering how I can implement this as a background service. The service would receive the commands and depending on which commands they are, notify the user, or update data within the main program. Some code examples would be great if anyone... | java android | [1, 4] |
2,373,805 | 2,373,806 | javascript not updating a variable | <p>I have a asp.net application which i am trying to create a progress bar which run with the system, I am using Java Script to do the update progress and would like an idea on how i would be update <code>var update = 0;</code> and this <code>$("#progressbar").progressbar('value', update);</code> in the code below wit... | c# javascript asp.net | [0, 3, 9] |
609,276 | 609,277 | ASP.Net: Using UpdatePanels in a GridView | <p>I'm trying to build a sort of Accordion effect using a GridView and UpdatePanels. And I have problems with tieing everything together:</p>
<pre><code><asp:GridView ID="gridMain"
runat="server"
...
>
<Columns>
...
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
&l... | c# asp.net | [0, 9] |
684,865 | 684,866 | How to round an answer to a mathematical equation | <p>All-
I have an app in which the users inputs data such as the cost of a dinner bill and the tip percentage and the number of people. The app than takes the numbers and outputs the total bill cost and the amount each person has to pay. I am almost there but when the user inputs numbers that don't work well I get outp... | java android | [1, 4] |
4,939,453 | 4,939,454 | Validation method error | <p>I have the following method to ensure that an entered username does not already exist.</p>
<pre><code>protected void checkUsername(object source, ServerValidateEventArgs args)
{
string connString = "Data Source=server;Initial Catalog=database;User Id=username;Password=password;";
string cmdText = "SELECT CO... | c# asp.net | [0, 9] |
4,588,139 | 4,588,140 | Android Files folder will be deleted while upgrading an app in Market? | <p>I had developed Android Application which has <strong>Login Authentication Page.</strong> When the user logs in with valid data, the details are stored in <strong>Shared Preferences</strong> (shared_prefs folder in <code>data/data/<App_PackageName>/<shared_prefs> folder</code> as <code>SharedPreferences.... | java android | [1, 4] |
2,114,671 | 2,114,672 | javascript search() working problem | <p>I have an jquery autosuggest plugin in which when i type ex. <code>Korea</code> then it show 2 results i.e.
<code>Korea (North)</code> & <code>Korea (South)</code> but when i type <code>Korea (</code>, its not displaying any result where it had to show both <code>Korea (North)</code> & <code>Korea (South)</c... | php javascript jquery | [2, 3, 5] |
2,154,279 | 2,154,280 | failed to call event from gridview linkbutton | <p>basically i wish to set a session folo by button click, but i failed to do so</p>
<p><strong>i failed to call abcde function(), don't know what to set,i did try onRowCommand,onDataBound,OnDataBinding</strong></p>
<pre><code><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="Sq... | c# asp.net | [0, 9] |
4,282,549 | 4,282,550 | How to get my div to fade out with jQuery on page load? | <p>I'm brand new to jQuery (and javascript in general). I've been meaning to use it/learn it for some time, and nows the time.</p>
<p>So I'm going to use jQuery <a href="http://joelglovier.com" rel="nofollow">on this page</a> to fade out the "under construction" warning at the top of the page on load. But I'm unfamili... | javascript jquery | [3, 5] |
4,838,098 | 4,838,099 | find next element with conditions | <p>Hierarchical tree: </p>
<pre><code> mouse (depth:0, sequence:0)
* organ system (depth:1, sequence:1)
o visceral organ (depth:2, sequence:2)
urinary system (depth:3, sequence:3)
mesentery (depth:4, sequence:4)
* rest of mesentery (depth:5, sequence:5)... | javascript jquery | [3, 5] |
801,656 | 801,657 | Android Application Just After Boot | <p>I did a android application which launch just after boot finishes. It works in android 2.3.3 and Android 3.1 but when i force closed application which runs in android 3.1 and i reboot again the application doesn't come after boot ? </p>
| java android | [1, 4] |
2,277,230 | 2,277,231 | A unique ID for a poll response | <p>In my system a manager create a poll and publish it to the world so users which have the link to the poll can answer it.</p>
<p>There is some question which designed to receive multiple answers, so user can choose multiple distract in one response.</p>
<p><strong>The response table structure in the DB</strong></p>... | c# asp.net | [0, 9] |
1,224,485 | 1,224,486 | Call a method when class name not known at compile time | <p>I have a number of sub-games, SubGame1, SubGame2 etc. Each is derived from a SubGame class and implements a static String getDescription() function.</p>
<p>I want to access these descriptions, e.g. SubGame1.getDescription(), SubGame2.getDescription() etc.</p>
<p>However I want to use a code loop and not all the su... | java android | [1, 4] |
32,097 | 32,098 | How to call a popup window in C# | <p>I have webform1,webform2. I have a submit button in webform1.When the submit is clicked, it has to perform some function then based on the result i have to show different data (let say accept/decline images) in the webform2(POPUP). When this popup is displayed user should not be allowed to make any changes to webfo... | c# javascript asp.net | [0, 3, 9] |
4,431,506 | 4,431,507 | Android, opening PDF | <p>I have a problem with my code in android.</p>
<p>I have a Textview that receives a spanned text (html text) from the method <code>Html.fromHtml("www.mylink.com/something.html");</code>. </p>
<p>I make this link clickable with this code</p>
<pre><code>public static void setView(TextView text, String append)
{
... | java android | [1, 4] |
5,783,911 | 5,783,912 | Accessing and binding events to an ASP.NET Grid view using Jquery | <p>I have an ASP page which displays a text box when it loads. It takes an input number, send it to the server through post back, and then displays some record in a grid view. After a number is input into the box, the server fetches some data from a database and add records to the grid view. It also contains a link col... | asp.net jquery | [9, 5] |
3,367,198 | 3,367,199 | javascript function that run php file who delete table row in database,mysql | <p>As title says, I was wondering is there any way to create function in javascript that will delete row in table? To call some php to delete row in table? I need help quickly! Thanks in advanced!</p>
| php javascript | [2, 3] |
2,269,306 | 2,269,307 | jquerycropping,codiegniter,php | <p>I want to crop the image using jquery,codigniter</p>
<p>in jquery i get four coordinate of image x1=249 x2=326 y1=194 y2=271 w=77 h=77</p>
<p>in codiegniter done the query</p>
<p>function do_crop()
{</p>
<pre><code> $x=249;
$y=194;
$w=77;
$h=77;
... | php jquery | [2, 5] |
5,249,485 | 5,249,486 | How to find element with class on any depth using JQuery? | <p>I know that I have somewhere inside div on any depth ( maybe one or two or three, it changes over time ) with class="nested". How to find that element on any depth using JQuery ?</p>
<p>I tried like </p>
<p><code>var nest=$('#container_div').find('.nested');</code> but it doesn't work.</p>
| javascript jquery | [3, 5] |
5,255,476 | 5,255,477 | How to use Ajax Loader in jQuery pop up | <p>Please tell me how to use Ajax Loader in jQuery pop up.</p>
<p>On my aspx page there is jquery pop up, and on the pop up there is list of checkboxes, and when a check box is checked another list of checkboxes load. For this I want use Ajax Loader.</p>
| jquery asp.net | [5, 9] |
2,650,668 | 2,650,669 | What's wrong with this Java code? Android? | <p>the purpose of this activity/program is to simply switch from this activity to another one using a button. From IzzynActivity to notes. Here is the android manifest:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="izzy.... | java android | [1, 4] |
5,995,909 | 5,995,910 | GridView - set selected index by searching through data keys | <p>I have a GridView which has DataKey[0] as productId.
If i have for instance productId = 54, is there any way to search through all
GridView item and set as selected the one who has DataKEy[0] = 54?</p>
<p>For a drop down list i have :</p>
<pre><code>ddlProducts.Items.FindByValue(lblProduct.Text.ToString())).Select... | c# asp.net | [0, 9] |
5,874,757 | 5,874,758 | Modify a Binary file(an after effect project file) in c# or c++ | <p>I need to change some text values inside an after effect project file that I assume it's a binary file. You cannot edit this file with a text editor, if you do next time you open it you will encounter the error message about corrupted project file.</p>
<p>So i need to for example change "TextArea1" to "Some new tex... | c# c++ | [0, 6] |
5,988,051 | 5,988,052 | how to handle the error message: Session state is not available in this context | <p>I am trying to create an error message page to display exception when exception occurs, and there is a return button on error message page to return the previous page where the exception caused.</p>
<p>here is the code used to redirect the error page. </p>
<pre><code>protected void btnAssign_Click(object sender, E... | c# asp.net | [0, 9] |
5,063,974 | 5,063,975 | Android activity/task order issue | <p>I have an app with 2 main activities and a service. The app starts with activity 1, and the service launches activity 2 via an intent upon detection of an app launch A. Activity 2 then does some stuff and calls finish(), returning to app A.</p>
<p>However, if I launch app A when I'm in activity 1, activity 2 appear... | java android | [1, 4] |
5,393,373 | 5,393,374 | Trying to get a "snapshot" of a form but am losing the values | <p>I have a highly dynamic form where interacting with a top-level element will completely transform the elements in the lower level part of the form. I wanted an easy way to maintain state so that if the user partially entered in form data for one of the top level categories, they could switch to something else (temp... | javascript jquery | [3, 5] |
3,896,202 | 3,896,203 | handling views by ID | <pre><code>for(id=1;id<=33;id++) {
i = new TextView(this);
i.setClickable(true);
i.setOnClickListener(this);
i.setId(id);
i.setBackgroundResource(R.drawable.yes);
AbsoluteLayout.LayoutParams lp2= new AbsoluteLayout.LayoutParams(abc, abc,abc ,abc);
al.addView(i, lp2);
}
i = (TextView) fin... | java android | [1, 4] |
816,368 | 816,369 | javascript jquery function that expects a specific type of function as parameter? | <p>In jquery when I run:</p>
<pre><code>$('li').each(some-function(i){});
</code></pre>
<p>The IDE seems to know that some-function is expecting an index.</p>
<p>It leads me to believe I can make a function in javascript/jquery that expects a function as one of it's parameters that expects certain paramters. (I am n... | javascript jquery | [3, 5] |
3,488,428 | 3,488,429 | Adding a function to one jQuery/DOM element | <p>I am authoring a plugin which instantiates a map. The map would then provide a function to move to another place on the earth.</p>
<p>The script makes the map just fine. However I can't "tack" the function on the element, to be used by another plugin in a callback.</p>
<p>Here's the approach I tried; in plugin:</p... | javascript jquery | [3, 5] |
3,040,317 | 3,040,318 | Jquery get hit from tempary image | <p>Ok so what I am doing is creating an upload form for images that gets displayed as a thumbnail, sort of like a preview. I have a set width that it is displayed and then in php on server side it is cropped to the size I want. However, for client side preview I want to show it at the width I have specified but get t... | javascript jquery | [3, 5] |
4,231,784 | 4,231,785 | Display images in Mosaic "without holes" | <p>I try to put pictures in a photo album or a div row so it would be "optimized" the vignatures images,</p>
<p>In fact I try to recreate the management of sites Google Images +,</p>
<p>Is there any resource for that?</p>
<p>The algorithm seems to me to be a real headlock to arrive at this result as:</p>
<p><a href... | php javascript jquery | [2, 3, 5] |
1,324,519 | 1,324,520 | Removing images that a user has clicked on | <p>I am working on a memory matching game. I have some code that checks if two images that the user clicked on have the same source and removes the images if they do have the same source.</p>
<pre><code>(function compareClicked() {
var lastclicked = "";
$("img").click(function() {
var path = $(this).at... | javascript jquery | [3, 5] |
121,775 | 121,776 | how to know the the objects x and y position in web page | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1101292/how-to-get-the-top-position-of-an-element">How to get the top position of an element?</a> </p>
</blockquote>
<p>i am just wondering how to know the correct position of an object in the webpage. I try to... | javascript jquery | [3, 5] |
2,682,739 | 2,682,740 | Android Save Image and read | <p>Hı a have a bitmap(from byte array). I want to save that as PNG file in internal storage. </p>
<p>Then I want load this image to webview ?</p>
<p>How can ı do this ?</p>
| java android | [1, 4] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.