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 |
|---|---|---|---|---|---|
2,684,331 | 2,684,332 | Explain relative paths - VWD vs IIS | <p>Can someone breifly explain how c# treats paths - or perhaps the development environment and VWD (that is not acting as I think a server should)?</p>
<p>I have a page: <code>/content/consumer/MyPage.aspx</code>. My images are all in <code>/images</code>. </p>
<p>When I put <code>src="/images/myimage.jpg"</code> ... | c# asp.net | [0, 9] |
917,851 | 917,852 | How to get Dom object's content include itself? | <p>I want to able to get #post content include itself. jQuery's html() method only return content that does not include itself.Trying to get parent object's html does not work in all situation because that object can have siblings. </p>
<p>What is solution for this ? </p>
<pre><code><div id="post">
<div... | javascript jquery | [3, 5] |
5,783,223 | 5,783,224 | Getting the row values of the listview by just simply clicking | <p>Is there anybody can give me the exact code on how to get the row values
of the listview when it is clicked. I don't want to put my listview control
with buttons like update, or delete buttons. All I want is just a plain listview
control with displayed data and when you click any rows, it will display on my
textboxe... | c# asp.net | [0, 9] |
4,759,402 | 4,759,403 | .text() immediately being processed | <p>I do not know what title to give so please I do apologize, i'm just getting curious why in the code below, the text is getting changed before it even fades out even if i've put it after a fade.</p>
<pre><code>$('form').submit(function(){
return false;
});
$('button').on('click',function(){
$(this).addClass(... | javascript jquery | [3, 5] |
964,223 | 964,224 | $.when not waiting for ajax return | <p>I have this code</p>
<pre><code>$('#mySelect').change(function() {
$.get(
"test.php",
function(data) { alert('test1'); }
);
});
</code></pre>
<p>I need to fire the event change of #mySelect, and wait for the answer of the ajax to perform a other task. But when I try</p>
<pre><code>$.when($('#mySelect'... | javascript jquery | [3, 5] |
2,899,781 | 2,899,782 | retrieving $_GET variable in jquery | <p>I have a main page (topic.php) with GET information in the URL, like this:<br></p>
<pre><code>http://studio.byuipt.net/topic.php?topic=Debugger&desc=Helps%20find%20and%20solve%20problems%20with%20others%27%20code.
</code></pre>
<p>I have a div, "currLeader" in topic.php into which I load another page, getCurrL... | php jquery | [2, 5] |
1,406,038 | 1,406,039 | Call a function in code behind in aspx? | <p>I have this:</p>
<pre><code><ItemTemplate>
<asp:CheckBox ID="cbRemove" runat="server"
Visible='<%# (string)Eval("GroupDescription") != "Default" %>' />
</ItemTemplate>
</code></pre>
<p>Only problem is, it might not be 'Default'. Is there a way I could call a function like GetDe... | c# asp.net | [0, 9] |
2,208,367 | 2,208,368 | Make default homepage for IE9 javascript | <p>I am trying to make a default homepage script using the famous script for IE but I'm trying to add it in a jquery function.</p>
<p>So this works:</p>
<pre><code><a href="#" onClick="document.body.style.behavior='url(#default#homepage)';
document.body.setHomePage('http://www.google.com');">
Click here t... | javascript jquery | [3, 5] |
3,184,094 | 3,184,095 | loading secondary resources like images and such | <p>I want to show image and its text initially as we open the page for my Image Slider.</p>
<p>This is my demo: <a href="http://codebins.com/bin/4ldqp9c/15" rel="nofollow">http://codebins.com/bin/4ldqp9c/15</a></p>
<p>here i am showing as all the DOM elements is loaded, but the need is to show the first image and its... | javascript jquery | [3, 5] |
1,277,594 | 1,277,595 | Jquery .val() == ** adding multiple possible answers ** | <p>I achived this by doing the following, but as a newbie to javascript and jquery i want to know if there is any shorter way to add multiple possible values.</p>
<pre><code>if ($("input:first").val().toUpperCase() == "UNITED STATES" || $("input:first").val().toUpperCase() == "USA" || $("input:first").val().toUpperCas... | javascript jquery | [3, 5] |
3,662,934 | 3,662,935 | enable postback onclick of a hyperlink in asp.net | <p>I have a hyperlink as</p>
<pre><code><a href="" id="link1">Click</a>
</code></pre>
<p>I have do enable a post back action whenever this link is clicked.</p>
<p>We can do </p>
<p><code><a href="" id="link1" onclick="javascript:location.reload()">Click</a></code></p>
<p>However, I want to ... | javascript asp.net | [3, 9] |
969,620 | 969,621 | What are FTL files | <p>I am new to a project and have to learn it inside out. I see allot of files with the extension .ftl in them. Not sure what they are. I know they can be modified an the user sees changes in the front end </p>
| java javascript | [1, 3] |
2,677,155 | 2,677,156 | What is your preferred order of elements in the body of program code? Why? | <p>Of course at the top of a .java or .cs file are the package/namespace declaration followed by import/using statement.</p>
<p>But what riles me is where should I put the variable declaration? At the top or at the bottom?</p>
<p>This is how I prefer;</p>
<pre><code>package/namespace declaration
import/using declara... | c# java | [0, 1] |
1,690,552 | 1,690,553 | Take image of div in ASP.net | <p>I am trying to make T-shirt design website. User customize its t-shirt by putting diffrent div and image over t-shirt div which has t-shirt in background using jquery now after final customization I want to save the picture of t-shirt/div so I can save customization.</p>
<p>How can i save customization div into ima... | c# jquery asp.net | [0, 5, 9] |
982,613 | 982,614 | Issue created a button in layout (Android)? | <p>I am trying to use two buttons in one layout:</p>
<ul>
<li>a button to notes, which is working below</li>
<li>a button to calculator (button10)</li>
</ul>
<p>I get this error on super.oncreate:</p>
<pre><code>"The method onCreate(Bundle) is undefined for the type Object"
</code></pre>
<p><strong>main.java:</str... | java android | [1, 4] |
6,019,081 | 6,019,082 | Symbol cannot be resolved | <p>Android Java project, minimal code to reproduce the problem:</p>
<p><code>Constants.java</code>:</p>
<pre><code>package alex.restaurantfinder;
public class Constants {
public static final String LOGTAG = "...";
}
</code></pre>
<p><code>ReviewCriteria.java</code>:</p>
<pre><code>package alex.restaurantfinder... | java android | [1, 4] |
2,943,687 | 2,943,688 | Disabling checkboxes that are not checked with jQuery? | <p>How do I disable ALL checkboxes on a page that are not checked? Do I need to first scan through all the checkboxes or is there a simpler way? I'm still a jQuery newbie</p>
| jquery asp.net | [5, 9] |
4,062,454 | 4,062,455 | Sorting a datatable with datatable.DefaultView.Sort | <p>I'm trying to sort a datatable. But it's not working.</p>
<pre><code>arr[0] = "name";
arr[1] = "DESC";
myDataSet.Tables["table1"].DefaultView.Sort = arr[0] + " " + arr[1];
</code></pre>
<p>Here, <code>myDataSet</code> refers to dataset I'm using for the reportviewer.</p>
<p>Am I missing something? Is there any ... | c# asp.net | [0, 9] |
1,970,819 | 1,970,820 | PHP/jQuery - Highlight the menu with current page | <p>Hi<br />
I am going to highlight a menu item according to the page that is reading currently, when user click on different page through the menu, that menu item will be highlighted, example is <a href="http://templates.joomlart.com/ja_pyrite/index.php?option=com_content&view=article&id=44&Itemid=53" rel=... | php jquery | [2, 5] |
5,057,820 | 5,057,821 | How check and filter emails in android? | <p>I'm trying to develop an android application that sends and receives filtered emails from a particular email account. I made the send of the mail, but my question is that if there is a way to receive, I mean to check a email and filter the new email only from a particular account, everything in the android app.</p>
| java android | [1, 4] |
2,749,324 | 2,749,325 | Why jQuery function returns null? | <p>I have this form:</p>
<pre><code><form action="javascript:;" class="iceFrm" enctype="application/x-www-form-urlencoded" id="frmMainMenu" method="post" onsubmit="return false;">
.....
</form>
</code></pre>
<p>I do not understand why this script:</p>
<pre><code><script type="text/javascript">
$(do... | javascript jquery | [3, 5] |
5,256,149 | 5,256,150 | Redirection code not working | <p>I have a problem with my role redirection. Why my code</p>
<pre><code> {
if (Roles.IsUserInRole(Login1.UserName, "Adminstrator"))
Response.Redirect("~/4_Admin/Page1.aspx");
else if (Roles.IsUserInRole(Login1.UserName, "Users"))
Response.Redirect("~/3_User/Expense.aspx");
... | c# asp.net | [0, 9] |
687,788 | 687,789 | checkbox chekced or unchecked does not trigger event | <p>There is an exisiting page I am working on at where I work, and there is a checkbox in the ascx , and it has a CheckedChange event for it in its .cs The problem I am having with that page is that when i run the website and check the box, it never fires the event, instead it goes through the On_Load event and it neve... | c# asp.net | [0, 9] |
3,998,508 | 3,998,509 | Lost in jQuery .each() | <p>In the script below, I'm trying to parse through a select list and for each option, call a php that returns a value (psuedo true/false) based on the options "value" attribute.</p>
<p>However, when I'm inside the $.get [to evaluate the return value and execute script against the current option in the each(),] I can'... | php jquery | [2, 5] |
4,110,126 | 4,110,127 | Android Image Viewer from App | <p>I'm trying to launch an image which is written to my application directory with the builtin Android image viewer. This image has been written in a different part of the app to the app directory. When getting the following file:</p>
<p><code>super.getFilesDir() + "/current.png"</code></p>
<p>File.exists() returns t... | java android | [1, 4] |
2,395,259 | 2,395,260 | Convert UNIX Timestamp to any format desired? | <p>For example:
I was able to get the timestamp</p>
<pre><code>String date="123456765343";
final Calendar cal = Calendar.getInstance();
cal.setTimeInMillis(Long.parseLong(date)*1000);
Date d = cal.getTime(); // now this reprents the unix timestamp
</code></pre>
<p>I would like to have the date looking lik... | java android | [1, 4] |
2,213,028 | 2,213,029 | transition background-image/css change on hover? | <p>I have a thumb nail inside another div, when the thumbnail is hovered I want the parent div to fade/transition to the background of the thumbnail, then fade back to the original image after hover.</p>
<p>I have this so far which changes the parent background to that of the thumbnail and back but with no transition.... | javascript jquery | [3, 5] |
1,666,451 | 1,666,452 | perform a function when form values change | <p>Im trying to call a function when the value of any form value changes.</p>
<p>This is my code:</p>
<pre><code>function reload()
{
tmp = findSWF("chart");
x = tmp.reload("chart.php", false);
}
function findSWF(movieName) {
if (navigator.appName.indexOf("Microsoft")!= -1) {
return window["ie_" + movieNam... | javascript jquery | [3, 5] |
74,460 | 74,461 | ASP .Net Gridview | <p>I'm using a form to populate a gridview with x users. However I want whenever I call the function if there is only 1 user displayed inside the gridview to autoselect that first user.</p>
<p>So within my callback function I have </p>
<pre><code>if (users.count == 1)
{
// Do something
}
</code></pre>
<p>I curren... | c# asp.net | [0, 9] |
2,483,801 | 2,483,802 | Saving large amounts of data when onPause is called? | <p>For my app, I have about 15Mb (which can be compressed with some processing power to about 5Mb) of audio+video+image data that I need to save to disk. For instance, I need to save this when user is interrupted with a phone call (because the activity might get killed after this) and when the user leaves the app.</p>
... | java android | [1, 4] |
4,701,208 | 4,701,209 | Get Element ID and passing into function | <p>I'm using javascript to get my element id value. But out of 3, one of my element id does not parse in. It gives me [object HTMLInputElement] while the rest of element id values can work.</p>
<p>Sample Code:</p>
<pre><code><?php
$Name = "Johnnnny";
echo "<input type=\"hidden\" name=\"Name\" id=\"Name\" value... | php javascript | [2, 3] |
2,447,900 | 2,447,901 | Replace an entire tag with a string in a string | <p>I want to dynamically generate an input field based on the content of a paragraph containing some img tags (i.e. emoticons) and want to replace those images (the entire img tag) with an equivalend string (e.g. <strong>:)</strong>)</p>
<p>I tried the following function and it just does not work as expected. (Even w... | javascript jquery | [3, 5] |
247,757 | 247,758 | Pass variable to JS file | <p>Although this question have been asked and answered before, including on this website, I am not managing to solve my problem.</p>
<p>I am using Masterpages, and Javascript files... and everyone now how "tricky" masterpages get with relative paths...</p>
<p>Well, I am using a png fix called: unit Png Fix (quite goo... | c# asp.net javascript | [0, 9, 3] |
1,861,431 | 1,861,432 | How to disable all Element inside a div or table using jQuery | <p>I have a table that contains several text box and buttons.I disable my table using jquery by this code:</p>
<pre><code> $("#tbl").attr("disabled", "disabled");
</code></pre>
<p>my table become disabled but when I double click on the button it become enable and I can enter characters in my text box too. How I can D... | javascript jquery asp.net | [3, 5, 9] |
4,349,537 | 4,349,538 | Two questions: should I do client-side or server-side in terms of validation? Also, how would I verify that no textbox is blank/invalid... | <p>...with jquery/javascript? I want to check and make sure that a value has been entered and that it's a number.</p>
<p>First - Is it a best practice to do validation on the client-side, server-side, or both? Is this something that should be validated twice or is checking on the client-side enough?</p>
<p>Second -... | javascript jquery asp.net | [3, 5, 9] |
3,495,765 | 3,495,766 | How to Find Current Row of Repeator in parent repeater? | <pre><code><asp:Repeater ID="rp1" runat="server">
<ItemTemplate>
<ul>
<li>
<%#Module(Convert.ToInt32(Eval("id")),Eval("university").ToString()) %>
<asp:Repeater ID="rp2" runat="server">
&l... | c# asp.net | [0, 9] |
1,715,516 | 1,715,517 | How to grab the width attribute of an element using jQuery? | <p>I created a graph using html, now I want to give it a nice effect when it initially loads. I want the bars of the graph to fly in from the left. The code below does that, only problem is each bar ends up with 70% width (obviously since I set that in the jQuery code). Instead I need that number to be unique to the wi... | javascript jquery | [3, 5] |
1,025,280 | 1,025,281 | Using jQuery to hide/show a Panel inside of a table | <p>I have an ASP.NET web form, with table. Inside the table, I have a radiobuttonlist control and below that I have a Panel. Inside the panel are several tags with other web controls. </p>
<p>What I want to do is have the panel display or hide based on the selection in the radiobuttonlist. In my jQuery I have this... | jquery asp.net | [5, 9] |
2,052,275 | 2,052,276 | My focus by keyboard navigation does't set in internet explorer and it works fine in FF | <p>I have one ID <code>#carousel_inner</code> and i set the focus on that id by keyboard navigation but this focus doesn't work on IE and its work fine with FF.</p>
<pre><code> $("#carousel_inner").attr("tabindex",0).focus(function() {
$(document).keyup(function(e){
if ( document.activeElement.id ... | javascript jquery | [3, 5] |
4,607,981 | 4,607,982 | Click through the image | <p>I have a image border (its on hexagon map so border must be image) that shows on hover on each hex. And now i want to use jQuery .click() function on some hexes but I can't click on the hex through the hover image. Is there any way to solve it?</p>
<p>Thank you very much.</p>
<p>PS: The hover image looks like this... | javascript jquery | [3, 5] |
4,099,821 | 4,099,822 | Validate form before button click | <p>I have a form on the contact page which i want to validate before the user clicks the submit button.</p>
<pre><code><form id="contact" name="f1" action="mail.php" onsubmit="validate()">
</code></pre>
<p>I have Javascript code which does validation of fields. But, when i click on the button the user is redir... | php javascript | [2, 3] |
1,427,841 | 1,427,842 | table lost on postback | <p>I'm working on a web based quiz system.</p>
<p>I have code that generates an ASP.NET table with a list of questions and radiobutton lists that indicate the answers for the quiz questions.</p>
<pre><code>//Retrieve questions and answers - build the actual quiz
DataTable dtQuiz = qr.GetQuizQuestions(QuizID);... | c# asp.net | [0, 9] |
4,393,594 | 4,393,595 | load jQuery in another js file | <p>I have a JavaScript file, which also uses jQuery in it too. To load it, I wrote this code:</p>
<pre><code>function include(filename)
{
var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
head.... | javascript jquery | [3, 5] |
988,367 | 988,368 | How do jquery library implement the $("") in jquery-1.x.x.js source code? | <p>Recently I begin to study the jquery, I feel confused how jquery library implement the <strong>$</strong>, I walked through the jquery source code and still cannot understand it.</p>
<p>Why is <strong>$( "#xid" )</strong> equivalent to <strong>getElementById("xid")</strong>?</p>
<p>Could you please explain <stron... | javascript jquery | [3, 5] |
622,635 | 622,636 | Get total amount for each individual row | <p>I am working on at the moment whereby I need to multiply 2 input values (quantity & amount) and then get the total. My issue lies with getting the total for each individual 'row' ideally on keyup as there will be multiple rows / fieldsets. </p>
<p>HTML:</p>
<pre><code><fieldset>
<p>Title</p>... | javascript jquery | [3, 5] |
5,649,520 | 5,649,521 | How does one turn a Gridview Row clickable which open a modalpopup in C#? | <p>How does one turn a Gridview Row clickable which open a modalpopup in C#?</p>
<p>I have a gridview with several columns. Each row (the entire width of the row) needs to be clickable which onclick opens a modalpopupextender displaying a popup panal with detailed info on the row.</p>
<p>I have the modalpopupextender... | c# asp.net | [0, 9] |
3,079,417 | 3,079,418 | how to set OnClientClick to be true? | <p>I wonder how to use jquery click a button and set it's OnClientClick to be true, so the validation process will not run. I use</p>
<pre><code>$("[id$='btn_Save']").attr('OnClientClick', true);
$("[id$='btn_Save']").Click();
</code></pre>
<p>But it does not work.</p>
| jquery asp.net | [5, 9] |
3,287,735 | 3,287,736 | select by class AND id that has been stored in var | <p>I have this code :</p>
<pre><code>$('.more_results').click(function() {
var userid = $('#userid').text();
var more = $(this).attr('id');
$.post('myquests.php', {userid:userid, more:more}, function(html) {
$(more+".more_results").remove();
$("#tab1").append(html);
});
});
</code></pre>
<p>my iss... | javascript jquery | [3, 5] |
3,759,237 | 3,759,238 | Pass Session Variable to javascript | <p>I'm tring to pass a session variable to javascript but not have success.
Searching stackoverflow i have found this discussion:
<a href="http://stackoverflow.com/questions/7363432/passing-session-variables-to-javascript">Passing Session variables to javascript</a></p>
<p>in my custom.js i have on header</p>
<pre><c... | php javascript jquery | [2, 3, 5] |
2,684,604 | 2,684,605 | Can I assign the value like this? | <pre><code> Exactly I ned to do something like this is this possible?
<%
var Controller = null;
if (Model.ID== "ABC")
{
Controller = "Name";
}
else
{
Controller = "Detail";
}
%>
<% using (Html.BeginForm("edit", Controller, FormMethod.Post, new { @id="exc-" + Model.SID}))
... | c# asp.net | [0, 9] |
1,356,894 | 1,356,895 | jQuery - why does delegate propagate, even after ``e.preventDefault();`` is called? | <p>I have a div with a nested link. The div has a <code>delegate</code> handler for <code>'click'</code>, which alerts "Div". The link within the div also has a <code>delegate</code> handler for <code>'click'</code> wherein <code>e.preventDefault();</code> is called before alerting "Link". When I click the link, I see ... | javascript jquery | [3, 5] |
2,006,081 | 2,006,082 | add class "last" to every div number 4 , 8 , 12 , 16 etc | <p>how to add class "last" to every div number 4 , 8 , 12 , 16 etc .
i think this is not big problem right ?</p>
<p>Before :</p>
<pre><code><div id="main">
<div>Element 1</div>
<div>Element 2</div>
<div>Element 3</div>
<div>Element 4</div>
<... | javascript jquery | [3, 5] |
4,162,467 | 4,162,468 | more concise jquery for multi button controlling visibility of same div | <p>I have 3 buttons that control the visibility of 1 div.</p>
<p>we want to do following to div:</p>
<ul>
<li>show the first time any of three buttons are clicked</li>
<li>show if button clicked is different to previously button click</li>
<li>hide if button clicked is the same as previous clicked and if div is curre... | javascript jquery | [3, 5] |
2,073,158 | 2,073,159 | Rename Pdf from Pdf title | <p>Dear all:
I want to organize my pdf file downloaded from the internet. It is clear that many of them are ill-named. I want to extract the real title from the file. Here many of them are generated from Latex and I think from the compiled pdf we can find the \title{} keyword or something like that. I want then use thi... | java c++ python | [1, 6, 7] |
495,695 | 495,696 | What are "multiple processes" in PHP? | <p>"I would prefer it to be written in PHP or Java (I know PHP can't do multiple threads, but it could be accomplished with multiple processes)".</p>
<p>What does this statement mean when it says "multiple processes"? Are there any good examples out there?</p>
| java php | [1, 2] |
5,038,338 | 5,038,339 | jquery change method to trigger hidden file input | <p>I have created a fake file input using an anchor tag and placed a hidden file input beside this, I want to use jquery to add a click event to the anchor tag that triggers the activation of the hidden input box but Im not completely sure how to achieve this, if anyone could give me some advice that would be great.</p... | javascript jquery | [3, 5] |
1,992,442 | 1,992,443 | A simple secenario to implement JavaScript ASP.NET C#, question rephrased | <p>I had asked this question before, but I got no correct answer.</p>
<p>So, this is a simple thing:</p>
<pre><code>textbox.text='user typing';
</code></pre>
<p>Button: store the value to a variable and a database.</p>
<p>Very simple, nothing to it.
But there should be no post back, that is the page must not load a... | asp.net javascript | [9, 3] |
2,462,399 | 2,462,400 | Browser & OS as body class | <p>I would like to have the OS and the Browser in the body class. I need that for pixelperfect styling, because the fonts do not behave the same way in different OS / Browser configurations. After some googling and experimenting. The only way i could think of to do this was to use an indexOf...</p>
<pre><code>var OSNa... | javascript jquery | [3, 5] |
5,244,966 | 5,244,967 | changing text for an input field using php, mysql, and javascript | <p>Ok, i have some data that is being populated via a php query to a database. I am getting comments that a user enters. I am displaying the returned data in a variable as shown below. If a comment does not exist then it would display an "add comment" link. The comment is just displayed as text at first. If a comm... | php javascript jquery | [2, 3, 5] |
670,199 | 670,200 | alert shows undefined in javascript when passed value form aspx.cs page | <pre><code> string locationName = "Mumbai";
Page.ClientScript.RegisterStartupScript(Type.GetType
("System.String"), "addScript", "PassValues(" + locationName + ")", true);
</code></pre>
<p>in javascript my code contains</p>
<pre><code><script language="javascript" type="text/javascript">
functio... | c# javascript asp.net | [0, 3, 9] |
27,609 | 27,610 | How to rewrite the Jquery dynamic selection box script for 5 selection boxes? | <p>I am trying to create dynamic selection boxes with Jquery.</p>
<p>Due to requirements, I have 5 selection boxes with similar Class contents e.g. Class A, Class B, Class C, etc. I have another 5 Student selection boxes besides each of the Class selection boxes. </p>
<p>So the idea is that when I select a class sele... | javascript jquery | [3, 5] |
4,671,791 | 4,671,792 | Simple email validation w/ jQuery | <p>I have a form that is being generated dynamically with PHP.</p>
<p>There's are multiple fields for email. I would like to conduct a very basic email validation when the form loads with the data pre-filled. Those fields that contain malformed emails need to be highlighted and form submission disabled.</p>
<p>Here's... | php jquery | [2, 5] |
5,437,924 | 5,437,925 | getting an espacial part of a string in c++ | <p>how can I get an especial part of a string or an array or a vector in C++?
in python it is in this way:</p>
<pre><code>a = "hello" #string
b = [1,2,3,4,5] #list
a[1:4] #from index 1 to 4
b[2:4] #from index 2 to 4
</code></pre>
<p>result:</p>
<pre><code>"ell"
[3,4]
</code></pre>
<p>is there any su... | c++ python | [6, 7] |
1,775,482 | 1,775,483 | Run jQuery function on drop down change | <p>I have a jQuery function that current runs on Click. I need to change it so that it runs when a drop down box is changed. Here is my code:</p>
<pre><code><form id="form1" name="form1" method="post" action="">
<label>
<select name="otherCatches" id="otherCatches">
<option value="*"... | javascript jquery | [3, 5] |
4,918,198 | 4,918,199 | How to create a .csv file in asp.net? | <p>How to Create a .CSV file from the reading the database in asp.net?Can any one suggest me how to create the .CSV file in asp.net?</p>
<p>Thanks in Advance.</p>
| c# asp.net | [0, 9] |
586,785 | 586,786 | check what checkboxes are checked and then send an ajax request | <p><strong>background on the topic</strong> </p>
<p>ok ive been coding a messaging page which users come on to check their messages,this is done without moving from the page so it uses ajax and json calles to get the data through <strong>jquery</strong> </p>
<p>my question is </p>
<p><strong>If their a way of checki... | javascript jquery | [3, 5] |
1,473,718 | 1,473,719 | Automatic redirection to start page-C# asp.net | <p>In gridview ,there is a templatefield which is imagebutton.i'm binding imageurl at runtime(on pageload) based on the document type.if i'm not binding the image,on next postback it loads the startup page.can somebody give the reason for this?</p>
<p>Thanks</p>
| c# asp.net | [0, 9] |
3,132,851 | 3,132,852 | Send/Receive byte[] via TCP Socket | <ol>
<li>I would like to send/receive sqlite database files (*.db) in byte[] over TCP socket connection? <br/></li>
<li>Is there a similar method in Java/Android for Socket.Poll() C#?</li>
</ol>
<p>I'm new in Java / Android</p>
| java android | [1, 4] |
1,332,839 | 1,332,840 | Java POST and GET arrays | <p>Let's assume I have a form with these fields (HTML)</p>
<pre><code><input type="text" name="user[name]" value="name"/>
<input type="text" name="user[email]" value="email"/>
<input type="text" name="user[age]" value="age"/>
</code></pre>
<p>how do I get this information inside a java Servlet? </p>... | java php | [1, 2] |
3,636,330 | 3,636,331 | looping through elements in jquery | <p>I've got a page with bunch of drop downs and each drop down has a button next to it. When the page initially loads I want all the buttons to be disabled and if there is a change to a specific drop down then its corresponding button shall be enabled. </p>
<p>I've got the following code down for this but I need to kn... | javascript jquery | [3, 5] |
5,861,937 | 5,861,938 | Javascript update before page loads in ASP.NET | <p>I'm trying to update values from a xml file into textboxes. I have this javascript being called in the Page_Load event</p>
<pre><code>this.Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", sb.ToString(), true);
</code></pre>
<p>I click the continue button which does a post back but the values are n... | asp.net javascript | [9, 3] |
2,667,222 | 2,667,223 | Combining C++ and C# | <p>Is it a good idea to combine C++ and C# or does it pose any immediate issues?</p>
<p>I have an application that needs some parts to be C++, and some parts to be C# (for increased efficiency). What would be the best way to achieve using a native C++ dll in C#?</p>
| c# c++ | [0, 6] |
2,761,991 | 2,761,992 | Session Variable problems when storing an object in my Session | <p>I have a log in page where I valid my users and based on this validation I store their user info in a session variable so I can access it at any time. To do this I am trying to store an instance of one of my dbml generated classes "UserInfo". So I populate the class and then store it in a session variable I call "... | c# asp.net | [0, 9] |
2,283,402 | 2,283,403 | TextEdit Text Input Issues in my game | <p>I am working on an Android game and am currently trying to get text input working. I want to prompt the player to enter his or her name and have that name added to the high score list.</p>
<p>I am trying to do that through EditText which I can get to work if I put my code in the onCreate method, but not if I call i... | java android | [1, 4] |
5,605,077 | 5,605,078 | drop down list in a text box | <p>i want to show the details of a student who entered into the library in a text box like drop down when the mouse is placed over it</p>
| java javascript | [1, 3] |
5,811,153 | 5,811,154 | How to scale with ImageView? | <p>Does it call scale? I need to use the zoomable function as what we do in browser with two finger. It seem zoom controls restricts alot on ImageView though. My images are in drawable, so i assume calling them through (R.drawable.myimage);</p>
<p>and btw im displaying my image with .setContentView(R.layout.myxml);</p... | java android | [1, 4] |
5,939,963 | 5,939,964 | formating number to currency with commas in jquery with slider | <p>I'm trying to get the output formatted like 1,023,456.50 also for ui.values[ 0 ]
But it shows NaN.
Any ideas?</p>
<p><a href="http://jqueryui.com/slider/#range" rel="nofollow">http://jqueryui.com/slider/#range</a></p>
<pre><code>$(function() {
$( "#slider-range" ).slider({
animate: true,
... | javascript jquery | [3, 5] |
4,720,605 | 4,720,606 | jQuery - getJSON data to array | <p>How do you store the data received from jQuery getJSON to an array for later usage? </p>
<p>Here's a sample snippet - somehow the loop's <code>data</code> is not being stored to the global <code>haikus</code>.</p>
<pre>
<code>
$(document).ready(function(){
var haikus=[];
alert("begin loop");
$.getJSON(... | javascript jquery | [3, 5] |
724,981 | 724,982 | Multiplatform Game-Center | <p>To build an app where we want to use some integration with Facebook, multiple opponents, achievements and stuff... we are looking for the best way to do this.</p>
<p>Now, Apple has there game center which won't works with Android same will probably hold with for the Google counter part. What are the best alternativ... | android iphone | [4, 8] |
3,709,556 | 3,709,557 | localization in asp.net-HTML controls | <p>In my application i need different culture for HTML controls.
is it possible through the .resx file or is there anyother methods.</p>
<pre><code> <ul>
<li><a href="..">Home</a></li>
<li><a href="#">Admin</a></li>
<li><a href="#">View List&l... | c# javascript jquery asp.net | [0, 3, 5, 9] |
1,668,591 | 1,668,592 | how to put validation for radiobuttonlist's radiobutton ? | <p>Here i have gridview which contain some values retrieved from database.We put radiobutton list for each row which contain 4 radiobutton in each row.
For particular row , i wish to disable that 4 radiobuttons.
For that , i tried following code ...But It doesn't work....</p>
<pre class="lang-cpp prettyprint-override"... | c# asp.net | [0, 9] |
1,746,183 | 1,746,184 | after() with fadein() jquery doesn't work | <p>I am trying to append some extra rows to my table, but can't make it fancy with fadein().
As you can see mine is applying the fade in effect to the very first row.</p>
<p><a href="http://jsfiddle.net/r5q6r/" rel="nofollow">Jsfiddle example</a></p>
<p>How can I apply the fadein to my other 3 rows??</p>
<p>I switc... | javascript jquery | [3, 5] |
1,552,650 | 1,552,651 | pass multidimentional array from javascript to php | <p>Im running a javascript code which reads values from different XML files and it generates a multidimentional array based on those values. Now I need to pass this array to a PHP page. I tried different but it always pass the arrray as string not as an array.
Anyone has an idea :( ... and thank you very much</p>
| php javascript | [2, 3] |
1,594,842 | 1,594,843 | Do I have to use JavaScript? | <p>When does it become unavoidable and when would you want to choose JavaScript over server side when you have a choice?</p>
| asp.net javascript | [9, 3] |
5,056,786 | 5,056,787 | Javascript: Clicking a wrapper element but not a child element | <p>I am writing some javascript (jQuery) that enables a div wrapped around a checkbox, when clicked, will toggle the checkbox element. However, the problem I'm running into is that when you click on the checkbox, it doesn't work because it's being toggled twice (at least I think that's what's happening). </p>
<p><a hr... | javascript jquery | [3, 5] |
5,691,146 | 5,691,147 | jquery , asp.net | <p>I am trying to use jquery to select a checkbox when another checkbox is selected. This wuld have been easy if the ids of the checkboxes are constant but they can change so I have tried to use classes instead, unfortunately asp.net applies the class name on the span element wrapping the checkbox instead of applying o... | asp.net jquery | [9, 5] |
2,029,741 | 2,029,742 | Error with selected item from the ListBox property (C#)? | <pre><code>for (int counter = 0; counter < countSelected; counter++)
{
string groupName = txt_GroupName.Text;
//Get GroupID from the created group
string GroupIDQueryText = "SELECT GroupID FROM tbl_group WHERE GroupName ";
int groupID = Convert.ToInt32(server.p... | c# asp.net | [0, 9] |
26,981 | 26,982 | javascript validation of textbox in asp.net | <p>i have one text box and button in asp.net like</p>
<pre><code><tr>
<td style="width: 100px">
<asp:Label ID="lbltime" runat="server" Text="Enter Time"></asp:Label>
</td>
<td style="width: 100px">
<asp:TextBox ID="Txttime" onkeypress="return isNumberKey(event)" runat="serve... | javascript asp.net | [3, 9] |
3,949,429 | 3,949,430 | How to create .net webservices for retriving data from sql server and display it on android application | <p>i am developing an android application for MCX in which i need show data on android app screen where data is stored on MS SQL Server. i am also creating a web application in asp.net c# from which data will be insert and update in that MS SQL Server.
so i need tips to do this overall task please give a solution so i... | android asp.net | [4, 9] |
868,910 | 868,911 | index of element in regard to elements of same type? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/11423357/get-position-of-selected-elements-not-index-of-element-in-dom">Get position of selected elements, not index of element in DOM</a> </p>
</blockquote>
<p>Using JQuery, what is the optimal way to get the i... | javascript jquery | [3, 5] |
2,487,726 | 2,487,727 | How to show MessageBox on asp.net? | <p>if I need to show a MessageBox on my ASP.NET WebForm, how to do it?</p>
<p>I try: <code>Messagebox.show("dd");</code></p>
<p>But it's not working.</p>
| c# asp.net | [0, 9] |
648,950 | 648,951 | jquery unbind toggle event don't work | <p>i have a div element generate in runmode by javascript
I want first click show confirm message and next click remove click event
but die or unbind don't work!</p>
<pre><code>$('div').live('click',function(e) {
$(this).toggle(function () {
$(this).html("I'm sure!");
return false;
... | javascript jquery | [3, 5] |
634,682 | 634,683 | Create object property names using loop and input textboxes | <p>I am refactoring some code where I grab the values inputted into textboxes and use said values for calculations. The problem is rather than using document.getElementByID multiple times I want to loop through each textbox on the page and assigning each value to this object which I will pass to my calculation function... | javascript jquery | [3, 5] |
205,809 | 205,810 | Reduce power conssumption while wireless should be used | <p>I am working on my MSc dissertation right now. This dissertation has one related app which should be developed by android. One of the objectives of the research is about using wireless to sync data among the phones. In the meanwhile, I must consider power consumption which means reduce power consumption while using ... | java android | [1, 4] |
3,121,839 | 3,121,840 | Asp.net crystal report (dynamic change) | <p>hi all !
I am developing one asp.net application and the requirement is as below.
user can view multiple reports(i have used crystal reports). Each report has edit report button.when the user click on edit button,then report will be open in <strong>excel</strong> sheet on different webpage.then user ... | c# asp.net | [0, 9] |
5,365,214 | 5,365,215 | what's the best way to apply a mask to an EditText on Android? | <p><br/>
what's the best way to mask a EditText on Android? <br/>
I Would like my EditText to behave like this decimal number input <a href="http://www.meiocodigo.com/projects/meiomask/#mm_demos" rel="nofollow">here</a>.
Is there a easy way to do this? </p>
| java android | [1, 4] |
3,649,331 | 3,649,332 | Sending lat and long to python server | <p>What if i want to send this data to my server Python After i already
open a connection and i want to send tis string , so here is my code , how to be able to send this </p>
<pre><code>String Text = "My current location is: " +
"Latitud =" + loc.getLatitude()+
"Longitud =" +loc.getLongitude() ;
<... | android python | [4, 7] |
1,354,465 | 1,354,466 | Add class to last div when it exists | <p>I have the following HTML structure, I want to add a class to the last <code><div></code> which contains the <code><p></code> tag but only when it exists. </p>
<pre><code><div id="view">
<div class="login">
</div>
<div>
<p>Add a class to this parent DIV</p>
... | javascript jquery | [3, 5] |
5,220,537 | 5,220,538 | passing value to another page using javascript | <p>Hello every I want to pass a message from php to JavaScript function and then redirecting to another page i want to show that message . Plz help me out . here is the sample code</p>
<pre><code>Php
if ($result){
$success = "New Page has been added successfully.";
} else {
$error = "Unable to process at this time."... | php javascript | [2, 3] |
3,949,529 | 3,949,530 | Get the whole document's html with JavaScript/JQuery | <p>I know it's already discussed here, but there were no solution to get the whole document (including doctype).</p>
<p><code>$(document).html();</code> returns <code>null</code>...</p>
| javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.