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,616,894 | 4,616,895 | How to know if return data is Json or String in jQuery and PHP? | <p>I want to check in client side(jQuery) whether return data from a PHP function is Json object or String to assign different function.</p>
| php jquery | [2, 5] |
261,682 | 261,683 | Sliding list of DIVs with Prev & Next button | <p>I would like to have next and previous buttons on a group of divs</p>
<pre><code><div><img src="img/car.jpg" /></div>
<div><img src="img/boat.jpg" /></div>
<div><img src="img/truck.jpg" /></div>
</code></pre>
<p>I have about 20 div's all floating left. Is there... | javascript jquery | [3, 5] |
3,137,665 | 3,137,666 | How do I assign different style to Insert and Cancel buttons of a DetailsView? | <p>I have a DetailsView in Insert mode:</p>
<pre><code><asp:CommandField ShowInsertButton="True" ButtonType="Button" ControlStyle-CssClass="myButton" InsertText="My Insert text" />
</code></pre>
<p>Both buttons Insert/Cancel get the same style, of course.</p>
<p><strong>Is it possible to style these two separa... | c# asp.net | [0, 9] |
2,123,944 | 2,123,945 | How do I create an ASMX web service page without a code behind file | <p>I have been able to create ASPX pages without the code behind, but I can't for the life of me figure out the magic combination to get an ASMX page to work without a code behind. Is this even possible?</p>
| c# asp.net | [0, 9] |
4,492,227 | 4,492,228 | Java Abstract Class (this keyword) | <p>I think I'm misunderstanding something, and if so, I need help..</p>
<p>Let's say I have the following two classes:</p>
<pre><code>public abstract class Abstraction() {
protected int number = 0;
public void printNumber() {
System.out.println(this.number);
System.out.println(getNumber());
}
... | java android | [1, 4] |
3,121,910 | 3,121,911 | Load more results like on facebook/twitter | <p>Maybe you've seen on Facebook/Twitter this effect. I want to load more results and append them to the existent ones. No problem so far. How can I keep track of how many results I have yet, to know from where on to query next time?</p>
<p>I have a number of answers:</p>
<ol>
<li><p>Wrap the results into a div with ... | php javascript jquery | [2, 3, 5] |
3,040,893 | 3,040,894 | Span element change event | <p>My question is:</p>
<p>Does have a span element the inner html change event?
I think about I have a span and when the span inner html is changing it will throw an event that I can reach?</p>
<p>I would like to use Jquery to bind to this event of span.</p>
<p>l.</p>
| javascript jquery | [3, 5] |
1,149,388 | 1,149,389 | Flow analysis for android | <p>Is there a control flow graph generator for Android applications. (preferrably open source) I wish to do some flow analysis on applications. But I could not find any such static analyzer.</p>
<p>If there is no such software, can <strong>soot</strong> be extended to do the static analysis for Android app. Some point... | java android | [1, 4] |
3,561,052 | 3,561,053 | How to assign the javascript variable value to php variable | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1917576/how-to-pass-javascript-variables-to-php">How to pass JavaScript variables to PHP?</a> </p>
</blockquote>
<p>I want to assign the javascript variable to php variable </p>
<pre><code>$msg = "<script>... | php javascript | [2, 3] |
3,216,506 | 3,216,507 | Access Objective-C variable from C++ function | <p>I'm working on a project that just needs to be rewritten but that is not an option at this point.</p>
<p>I have a C++ function that is called and does all kinds of stuff. I need it to read a variable from the App Delegate class.</p>
<p>For example I have:</p>
<pre><code>@interface MyAppDelegate : NSObject <UI... | c++ iphone | [6, 8] |
382,378 | 382,379 | Settings Selector Dynamically in JQuery | <p>I have a table whose values are being generated dynamically with PHP, including the id and name attributes (e.g. id="question_".</p>
<p>How can I set an element attribute with this in mind? For example, I have a div whose text will change after a successful ajax call, but the id is dynamic. </p>
<p>I have tried ma... | php jquery | [2, 5] |
1,797,937 | 1,797,938 | Pass form variables on to second postback...asp.net | <p>Is it possible to postback to the server, perform a function, and then continue that postback on to an external place? (ie, to a payment system)</p>
<p>(the scenario is clicking a button to place an order, mark it as sent, then send them off to the payment page (there are form variables that needs to be sent to the... | c# asp.net | [0, 9] |
4,778,005 | 4,778,006 | Substrings in Javascript with substr() | <p>I need to use Substring in Javascript. But despite my searches, i have an error : substr seems to be unknown...</p>
<pre><code>function confirm_ticket(idAgir,TempsEstime) {
var str = TempsEstime;
var strConcatenate = TempsEstime.substr(0, 2) + ":" + TempsEstime.substr(2, 2);
alert("confirmer le temps ... | javascript asp.net | [3, 9] |
4,842,953 | 4,842,954 | How to use an anchor link and scroll at the same time? | <p>Here for some help again :)</p>
<p>I've got this site: sharemyplaylists.com</p>
<p>that uses this scrolling plugin to smoothly bring the user to an anchor when clicked, here is the code:</p>
<pre><code>// Smooth anchor link script
$(document).ready(function()
{
$('a[href*=#]').click(function()
{
if (l... | javascript jquery | [3, 5] |
6,012,295 | 6,012,296 | Add two numbers in asp.net page using Javascript | <p>Given Two text Boxes. (TextBox1 & TextBox2), I want add two numbers (using the two text boxes) and show the result in the thrid textbox (TextBox3) <em>instantly</em> i.e without pressing a asp.net button. This is to be done using Javascript. I'm new to javascript so dont have much idea.</p>
<p>This is the asp.n... | javascript asp.net | [3, 9] |
5,752,794 | 5,752,795 | Jquery calling PHP function on jquery ajax success | <p>Is it possible to call a php function on jquery ajax call.When i tried to do this i get function not defined error on php function</p>
<pre><code> $.ajax({
type:"POST",
url:"x.php?z=" + id,
cache:false,
success: function(data)
{
<?php xcz(); ?>
}
... | php jquery | [2, 5] |
3,744,471 | 3,744,472 | OnNewIntent does not show Toast | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/11304267/displaying-a-toast-notification-in-android-framework">Displaying a Toast notification in Android framework</a> </p>
</blockquote>
<p>I have an activity and in onResume there is the following Code:</p>
... | java android | [1, 4] |
3,421,775 | 3,421,776 | JQuery Truncate Text and insert | <p>I am using some Jquery to insert a element before another element as below:</p>
<pre><code>$(document).ready(function(){
$('a[href*="FolderCTID"]').each(function(){
$(this).closest('tr').find('div[class^="ExternalClass"]').before(this);
} );
});
</code></pre>
<p>I am able successfully insert before t... | javascript jquery | [3, 5] |
1,881,254 | 1,881,255 | jQuery focus on Alert box with clicking on button | <p>I have a form, after submitting form when button is clicked using jQuery like this.</p>
<pre><code>function validate(){
if($('#firstname').val() =="")
alert("Please enter your first name");
else if($('#lastname').val() == "")
alert("Please enter your last name");
else if( $('#association').v... | javascript jquery | [3, 5] |
3,813,603 | 3,813,604 | Refresh parent window from child window using javascript | <p>I am opening new pop-up page in new window. Now When I am pressing a html input button from child window, I want to close this child window then I want to refresh the parent window.
How I can do using javascript?</p>
<p>Can you anyone suggest me the solution?</p>
| javascript jquery | [3, 5] |
4,328,141 | 4,328,142 | How to convert the Username column in the GridView an email hyperlink (mailto) and to be clickable using GridView1_DataBound? | <p>I developed a web-based training matrix that shows the training record for each employee in each division in my department in the company. The matrix will show many columns such as the employee name, username, job title... etc. what I want now is to make the username for each employee to be clickable which means whe... | c# asp.net | [0, 9] |
1,030,644 | 1,030,645 | jquery - Finding the href attribute of a jquery multiple selector | <p>so I was wondering, assuming you have a multiple selector as below:</p>
<pre><code>$('.BOO li', '.FOO li a').click(function() {
});
</code></pre>
<p>and you want to find the <code>href</code> value of both classes, using the <code>this</code> keyword, how do you achieve that? </p>
<p>Because if you go ahead and... | javascript jquery | [3, 5] |
1,279,436 | 1,279,437 | Cannot get Textboxes in dynamically added usercontrol to maintain state | <p>I have tried what seems like everything - I've done similiar things many times before, but I'm obviously missing something.</p>
<p>I have a UserControl (ucA) - on ucA is a LinkButton that loads a different UserControl (ucB) programatically into a panel on ucA. ucB has TextBoxes, etc. </p>
<p>Could someone please... | c# asp.net | [0, 9] |
5,575,478 | 5,575,479 | loading a element of same file through jquery | <p>I have a file <em>data.php</em>, when a user clicks update the database is updated in background with jquery but in response i want to reload the particular table whose data was updated.</p>
<p>my html:</p>
<pre><code><div id="divContainer">
<table id="tableContainer" cellspacing='0' cellpadding='5' borde... | javascript jquery | [3, 5] |
4,424,959 | 4,424,960 | JQuery - Serialize() a object that isn't a form but it's inside and part of a form | <p>I'm trying to serialize some contents inside of a form:</p>
<pre><code><form>
<input ...>
<input ...>
<div id=div1>
<input name=input1 ...>
<input name=input2 ...>
</div>
</form>
<script>
jQuery("#div1").serialize();
</script>
</code></p... | javascript jquery | [3, 5] |
477,162 | 477,163 | size or length of a Document object | <p>How can i get the size of an Document object?</p>
<pre><code> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
InputStream iStr = urlConnection.getInputStream();
doc = db.parse(iStr);
???? --> Log.i("Bytes",... | java android | [1, 4] |
5,370,765 | 5,370,766 | Inject javascript in existing asp.net webforms app | <p>I am currently working on a website which has a lot of javascript . How can i make sure that my javascript has the best chance of running properly? By adding another script section in the page or through asp.net registering the script?</p>
| javascript asp.net | [3, 9] |
461,840 | 461,841 | jQuery: Any way to "refresh" event handlers? | <p>I have two divs, one that holds some stuff and the other with all possible stuff. Clicking on one of the divs will transfer items to the other div. The code I came up with is:</p>
<pre><code>$("#holder > *").each(function() {
$(this).click(function(e) {
$(this).remove();
$("#bucket").append(t... | javascript jquery | [3, 5] |
4,561,137 | 4,561,138 | Best tool for Code-Analyzement or Code-Review | <p>Which code-Analyzer or Code-Review tool do you suggest ,</p>
<p>For Analyzing <strong>DotNet 2.0 & 3.5</strong> code and getting</p>
<p><em>All classes , Methods , Properties , Instances , Definition ,
Databases & and their relation to code ,</em></p>
<p>I want to <strong>get print-ready Information</stro... | c# asp.net | [0, 9] |
5,005,528 | 5,005,529 | Manipulating HTML from the asp.net code-behind | <p>I am able to get the HTML from the code-behind, like this one:</p>
<pre><code>protected override void OnPreRenderComplete(EventArgs e)
{
StringWriter sw = new StringWriter();
base.Render(new HtmlTextWriter(sw));
sbHtml = sw.GetStringBuilder();
Response.Write(sbHtml + "<!-- processed by code-behin... | c# asp.net | [0, 9] |
3,206,028 | 3,206,029 | From a input field to a auto-suggest created div with (keyboard) down button | <p>There is an input field, and upon entering some characters in it, jquery shows div with search results (as an auto-suggest type made by jquery core only keyup()). Shortly, this search is absolutely similar as one on FB. </p>
<p>Now, any clue how can I apply down button (on keyboard) to land on that div with results... | php jquery | [2, 5] |
5,838,821 | 5,838,822 | Split array into two arrays | <pre><code>var arr = ['a', 'b', 'c', 'd', 'e', 'f'];
var point = 'c';
</code></pre>
<p>How can I split the "arr" into two arrays based on the "point" variable, like:</p>
<pre><code>['a', 'b']
</code></pre>
<p>and</p>
<pre><code>['d', 'e', 'f']
</code></pre>
| javascript jquery | [3, 5] |
2,836,357 | 2,836,358 | Download file: ACCESS DENIED | <p>I keep on having "ACCESS DENIED" after hitting my download button.
I already have full control on the specified folder.</p>
<p>I use this in jquery.</p>
<pre><code>function DownloadFile(ProductNumber, File)
{
var windowSizeArray = ["width=400,height=400",
"width=500,height=600,scrol... | javascript jquery | [3, 5] |
2,734,533 | 2,734,534 | what ?android:attr/listPreferredItemHeight is doing and how? | <ul>
<li>public static final int listPreferredItemHeight</li>
</ul>
<p>Ok, ofcourse i understand this part of the expression...listPreferredItemHeight is the preferred list item height.</p>
<p>But i really dont get these stuff...and google didnt help. Anyone can point me to the right direction where i can read about... | java android | [1, 4] |
4,408,684 | 4,408,685 | I need to know the value of a dropdownlist that is in a popup, with jquery | <p>I am using <a href="http://www.jtable.org/" rel="nofollow">jtable</a> for my grids and when create a new record it raises a popup in there. I have a dropdownlist so I need to get the value of that dropdownlist. How can I achieve this?</p>
<p>This is the html: </p>
<pre><code> <div class="ui-dialog ui-widget ui... | javascript jquery | [3, 5] |
1,234,177 | 1,234,178 | Resetting a form with JavaScript | <p>i am resetting my form with the following:</p>
<pre><code><script type="text/javascript">
window.onload = function () {
document.getElementsByName("email_address")[0].value = "";
document.getElementsByName("remove")[0].value = "off";
}
</script>
</code></pre>
<p>the problem is that the checkbox "re... | php javascript | [2, 3] |
1,334,049 | 1,334,050 | Determine if one node is overlapping another | <p>Is it possible to know, in jQuery, if a node is overlapping another?</p>
| javascript jquery | [3, 5] |
5,341,360 | 5,341,361 | Need help implementing two android activities? | <p>I am trying two initiate two different activities using two buttons and the on click listener I am receiving the following error <em>Multiple markers at this line
- Syntax error, insert "}" to complete
ClassBody
- Syntax error, insert ";" to complete
FieldDeclaration</em></p>
<pre><code> @Overr... | java android | [1, 4] |
1,745,542 | 1,745,543 | Onclick refresh only div content, Not all aspx page | <p>I have two pages that inherit from one master page, First.aspx or second.aspx. Navigation is on master page. If I am on first.aspx page & want to go to second.aspx onClick. I just want to load My contentplaceholder, not refresh all of the page. Is this possible or not?How do I do this if it is possible?</p>
<p>... | javascript jquery asp.net | [3, 5, 9] |
145,592 | 145,593 | flowplayer with rssfeeds | <p>I have rssfeed website on which I have put some video/audio podcasts .
How can I embedded flowplayer so that it can show small icon for video to play with each link of podcast rssfeed.
If any one know this Please help me.
Regards,
lnj.</p>
| php javascript | [2, 3] |
715,578 | 715,579 | How can I play sound in jquery when click a button | <p>i trying to play a sound file when i click the button, but it's not working, my html code is :</p>
<pre><code><html>
<body>
<div id="container">
<button id="play">Play Music</button>
<div>
</body>
</html>
</code></pre>
<p>my script is :</p>
<pre><code> $... | javascript jquery | [3, 5] |
325,395 | 325,396 | How to get the document height using C#? | <p>I am using ASP.NET and C#.I can able to get the document height using javascript with this.</p>
<pre><code>var h = document.documentElement.offsetHeight;
</code></pre>
<p>Now i need this value during pageload. But the javascript will be start exicuting after pageload. So now i need to get it using server side code... | c# asp.net | [0, 9] |
5,279,125 | 5,279,126 | Fetch input value from certain class and send with jquery | <pre><code><input id="u1" class="username">
<input id="u2" class="username">
<input id="u3" class="username">
...
</code></pre>
<p>How to fetch input value with "username" class and send with ajax jquery to php page.</p>
<p>i want to recive data like simple array or simple json. (i need INPUT values... | php jquery | [2, 5] |
4,912,359 | 4,912,360 | Javascript array or Google Charts view.setColumns? | <p>I dont know the topic Sorry for title. anybody who understand my question could edit my question title.</p>
<p>Script:</p>
<pre><code>// I get checkboxes values with using this function
var myValues = $(".filter:checked").map(function () {
return this.value;
}).get();
alert("[0," + myValues + "]");
var view =... | javascript jquery | [3, 5] |
5,276,989 | 5,276,990 | Get a list of installed applications in android | <p>I'm trying to develop an application launcher application for android. I'm in the very beginning but I have a problem here: How do I get a list of all installed applications in android?</p>
| java android | [1, 4] |
606,075 | 606,076 | Editing an Xml file | <p>What are the different ways for editing an Xml file in .Net without using LINQ.</p>
<p>The following activity needs to be done.</p>
<ol>
<li><p>Changing an InnerText of an element.</p></li>
<li><p>Changing an Attribute in Xml.</p></li>
</ol>
<p>Regards,</p>
<p>Sachin K</p>
| c# asp.net | [0, 9] |
3,187,366 | 3,187,367 | Why and When we need to create inner class in android | <p>I am new in android world. I am trying to learn it. I have a question about inner classes in android code. Why and when do we need to creat inner class. We can create an individual class and by creating its object we can access its methods. So why do we need to create inner class and when it is necessary to create a... | java android | [1, 4] |
4,883,299 | 4,883,300 | why null (login pop up) | <p>Probably it's something small i do not see...
I have a UserControls_LoginPopUp with one of the properties as:</p>
<pre><code>public string urlForRedirecting {get; set;}
</code></pre>
<p>This user control contains a modalpopupextender and a method for login:</p>
<pre><code> public void Login_Click(object sender, E... | c# asp.net | [0, 9] |
3,076,880 | 3,076,881 | how to check if a checkbox exists | <p>The check box's exist for each row. the table is created by PHP and I need a way to check if the check box exists. when they are created they are given the ID of checkbox_(an incrementing number).</p>
<p>This is what I have so far, but it does not work on checking if the element exists.</p>
<pre><code>var check = ... | javascript jquery | [3, 5] |
1,548,416 | 1,548,417 | How to store SharedPreferences into file? | <p>I have been developing Android application which should have following function: it should store some data between Application executings; also if I delete application and re-install it app should restore values of data. I knew that I can store data into SharedPreferences (for working with data in my program) and se... | java android | [1, 4] |
3,724,216 | 3,724,217 | Parsing a String for Special characters in C# | <p>I am getting a string in the following format in the query string:</p>
<p>"Arnstung%20Chew(20)" </p>
<p>I want to convert it to just "Arnstung Chew". How do I do it?</p>
<p>Also how do I make sure that the user is not passing a script or anything harmful in the query string?</p>
| c# asp.net | [0, 9] |
1,792,292 | 1,792,293 | JavaScript not firing in ASP.NET | <pre><code> function isGoodEmail() {
var email = document.getElementById("<%=txtComapnyEmail.ClientID%>").value;
if (email == "Email") {
if (window.isValidEmail(email)) {
if (/(aol|gmail|yahoo|hotmail)\.com$/.test(email)) {
alert(... | javascript asp.net | [3, 9] |
4,815,095 | 4,815,096 | The use of globle in regular expression | <p>I used the regular expression <code>(/\<+\/+\s+/gm,"</")</code>. If i remove the g the regular expression don't work. Please let me know technical difference between 'g-global and m-multiple'.</p>
| php javascript | [2, 3] |
3,614,118 | 3,614,119 | How to use JQuery included in the main page in another page being called in the iFrame | <p>I have included JQuery on my main page which is a html page, in the main page there is an iFrame and in the iFrame I am calling another HTML page. I want to use jquery in the html page which is being called in the iFrame, is it possible to use the JQuery which is included in the main page? if it is then please let m... | javascript jquery | [3, 5] |
879,205 | 879,206 | works with document objsct using JQuery | <p>I have html document with next structure</p>
<pre><code><html>
<head>...</head>
<body>
Some text
<iframe name="frame2" id="frame2">
#document
<html>
<head>...</head>
<body>
<table>
<tr>
<td>Inner Text</td>
</tr>
</table>
</... | javascript jquery | [3, 5] |
993,233 | 993,234 | JQuery : What is the difference between "var test" and "var $test" | <p>what is the difference between these statements? I know that "var $test" declares a jquery variable, but what is the difference of a jquery variable with a general javascript variable ?</p>
| javascript jquery | [3, 5] |
1,255,850 | 1,255,851 | jQuery: return string as html | <p>I have a "Label" control on my form which is being populated via jquery. My problem however, is I need to return my string with html tags, but my label doesn't seem to recognize html. Here's my control:</p>
<pre><code><label id="comment"></label>
</code></pre>
<p>And here's how I'm working with it in... | javascript jquery | [3, 5] |
5,543,892 | 5,543,893 | Wordpress Javascript / jQuery conflicts | <p>I'm really stuck on a problem. I have already searched Google and even asked on twitter but no avail. My problem is with Wordpress, when trying to use thickbox and jQuery slider on the same page my slider becomes static.</p>
<p>(Without the jQuery script)
If I remove the jQuery script for {Nivo slider} then my ligh... | php javascript jquery | [2, 3, 5] |
3,077,279 | 3,077,280 | Android. 4.1 - 4 = 0.09999999999999964. Why? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/11065397/android-number-format-is-wrong-somehow-instead-of-3-5-i-get-3-499999999-why">Android number format is wrong somehow, instead of 3.5 I get 3.499999999, why?</a> </p>
</blockquote>
<p>Does any one know wh... | java android | [1, 4] |
4,931,179 | 4,931,180 | Getting selected value from multiple dropdowns | <p>If user change the entry from any dropdowns in the <code>SalePlugin</code> div then it will need to get all the selected value and pass it into POST.</p>
<p>How it should be done?</p>
<pre><code>$('.SalePlugin > *').live('change', function(){
var SalePluginData = $(this).closest('.SalePlugin').find('select').s... | javascript jquery | [3, 5] |
3,764,967 | 3,764,968 | Adding a delay before calling function in .hover() callback | <p>I'm trying to add a small delay in the .hover() callback before running further code. I also need to stop the timer if it exists when you hover another elem that triggers the same .hover() func.
I currently have it working but it is not pretty, I'm assigning a timer to a global and sure there must be a better way to... | javascript jquery | [3, 5] |
777,688 | 777,689 | control volume by javascript function | <p>I have to play a music file on HTML page which is running on <code>android</code>, also need to control the volume by javascript function. Can someone give me any idea?</p>
| javascript android | [3, 4] |
1,374,350 | 1,374,351 | strange issue with jQuery | <p>I have a very strange issue with jQuery.</p>
<p>The problem:</p>
<pre><code>$("#button-prev").attr("disabled", "disabled");
</code></pre>
<p>This doesn't work. If I check with Firebug I see disabled="" as element attribute</p>
<p>But for example this</p>
<pre><code>$("#button-prev").attr("disablea", "disabled")... | javascript jquery | [3, 5] |
5,405,061 | 5,405,062 | which is the best lightest jquery rich text editor | <p>i want a lightest lib,</p>
<p>only can change " font-weight color list bold",it is ok for me.</p>
<p>thanks</p>
| javascript jquery | [3, 5] |
414,201 | 414,202 | Attach a return false to jquery bind | <p>I got this code: </p>
<pre><code>$('#la_freccia_dx').bind('click', function(){
boutique_next();
});
</code></pre>
<p>In my html markup I prevent the page to scroll up using this code:</p>
<pre><code><a id="la_freccia_dx" href="#" onclick="boutique_next(); return false;">
</code></pre>
<p>But now it wor... | javascript jquery | [3, 5] |
3,304,453 | 3,304,454 | automatic form post data | <p>I have a form with lots of data to be posted, so i was wondering if there is any way to get all the data to be posted automatically.</p>
<p>like for example i sent data this way</p>
<pre><code>$.ajax({
type: 'post',
url: 'http://mymegafiles.com/rapidleech/index.php',
data: 'link=' + $('#link').v... | javascript jquery | [3, 5] |
3,282,453 | 3,282,454 | Change CSS class based on bound value? | <p>I have an item template in a grid view:</p>
<pre><code> <asp:TemplateField HeaderText="Name" SortExpression="GroupDescription">
<ItemTemplate>
<asp:Label ID="lblName" CssClass="edit" runat="server" Text='<%# Bind("GroupDescription") %>'></asp:Label>
... | c# asp.net | [0, 9] |
1,089,479 | 1,089,480 | return; return true and return false - what are the differences? | <p>In languages like javascript/c++, sometimes there are <code>return false;</code> or <code>return 0;</code> being used. However, in languages like PHP, <code>return;</code> stops the script, and <code>return false;</code> returns the (bool) false and continues the script.</p>
<p>It is confusing me alot lately.</p>
... | php javascript | [2, 3] |
4,306,342 | 4,306,343 | Assign input field value from previous page to a session and access with PHP | <p><strong>My Question</strong></p>
<p>I have a contact form and it has a input field called </p>
<pre><code><input type="text" name="subject" id="subject" value="Car">
</code></pre>
<p>and the second form with a input field called</p>
<pre><code><input type="text" name="subject" id="subject" value="Home"&... | php jquery | [2, 5] |
3,153,241 | 3,153,242 | How does jquery know which function to run? | <p>I have:</p>
<pre><code><script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>
<div class="demo">
<p>Date: <input id="datepicker" type="text"></p>
</div>
</code></pre>
<p>When I click in the datepicker box the datepicker appears, as expected... | javascript jquery | [3, 5] |
1,522,738 | 1,522,739 | inject javascript functions on server asp.net/php | <p>I created a small javascript library that makes making ajax calls using POST and JSON much easier for webmethods. Right now I still have to make a function stub in javascript for each matching webmethod. What I would love to do in asp.net mainly, and if possible in php too, would be that before sending the page to t... | php javascript asp.net | [2, 3, 9] |
1,375,895 | 1,375,896 | Why do link paths in JavaScript not require a precedding / but paths in PHP includes do? | <p>Sounds nit picky but this had me hung up for about an hour or so.</p>
<p>I have a path set like this in JavaScript</p>
<pre><code>const JAVASCRIPT = 'host/source/ArcJB.js';
</code></pre>
<p>which renders in my document like this:</p>
<pre><code><script type="text/javascript" src="host/source/ArcJ... | php javascript | [2, 3] |
4,172,322 | 4,172,323 | How to get a value out of a JavaScript function? | <p>I need to get the row number out of a JavaScript function:</p>
<pre><code>function cap_check(){
var row;
$('td').change(function(){
row = $(this).parent().parent().children().index($(this).parent());
alert(row);
});
alert(row);
}
</code></pre>
<p><em>Within</em> the function, ... | javascript jquery | [3, 5] |
5,694,474 | 5,694,475 | Calling Javascript on a loaded site | <p>How would I call a function in Javascript on a loaded site in a Windows Form Application web browser? For those that have used Chrome, I'm looking to call Javascript like you can with the Javascript console.</p>
| c# javascript | [0, 3] |
825,026 | 825,027 | How can I check if a radio button is selected in jQuery and gets his value? | <p>Can you please explain me how I can check in jQuery if a radio button is checked and get the value before inserting the value in a database? </p>
<p>Thanks</p>
| php javascript jquery | [2, 3, 5] |
5,009,038 | 5,009,039 | jquery select option value and refresh current php page | <p>I use the following code to try to get menu value and update the SQL so that the content will be changed.</p>
<p>I can obtain the pull down menu value but how can I pass to the CURRENT php page so that the SQL statement can get update and the content reload?</p>
<pre><code>if (!empty($_GET['city']))
{
$c=$_... | php jquery | [2, 5] |
2,702,018 | 2,702,019 | How to reliably store complex form data for submit | <p>I am creating an appointment web application where the user chooses a start date and an end for an event along with a global start time and end time. At the last screen I allow the user to edit any day during the duration of the event which I display using the jQuery Full Calendar plugin.</p>
<p>Now, I want to keep... | php javascript jquery | [2, 3, 5] |
850,643 | 850,644 | how to properly insert html with jquery | <p>I am using this bit of PHP to return a chunk of html:</p>
<pre><code>if ($action = "update")
{
connect_db();
$query = mysql_query("SELECT * FROM convo ORDER BY date ASC") or die (mysql_error());
while($row = mysql_fetch_array($query))
{
$output = $output . '<p&g... | php jquery | [2, 5] |
6,015,591 | 6,015,592 | load content while scrolling not working | <p>I am writing a code which i scroll to the bottom of the window it loads another data with the help of php code.
It loads the load_first.php file but not identifies the load_second.php file
What problem in this code see this </p>
<pre><code> <?php $_SESSION['first']=1; if($_SESSION['first']==1) { ?>
<... | php jquery | [2, 5] |
5,985,287 | 5,985,288 | Passing an ID over an intent | <p>I am trying to pass the ID of the clicked on data from my listview to a new activity in a second class i.e. I click the item on the <code>listview</code>.The <code>onListItemClick</code> method is called and starts a new intent. The id is passed with the object in the <code>i.getExtra</code>. Then the id is stored ... | java android | [1, 4] |
3,325,951 | 3,325,952 | Is this possible to convert a million digit number to 1000 digit number by a certain mathematical operation in C++ or C#? | <p>I am working on project and ran into an issue.
Now I want to know is there anyway to reduce digits of a big number? For example convert a million digit number to 1000 digit number.</p>
| c# c++ | [0, 6] |
1,628,737 | 1,628,738 | how to determine checkboxlist is checked/selected - | <p>when i execute the code i get 4 checkboxs and i checked/selected all 4 checkbox and when i try to debug the code, it does count that i have 4 checkbox but all 4 checkbox is selected=false.</p>
<p>what i am missing in code?</p>
<pre><code><asp:checkboxlist id="chk" runat="server" ondatabinding="chk_DataBinding"
... | c# asp.net | [0, 9] |
1,773,330 | 1,773,331 | How to execute javascript in C#? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/172753/embedding-javascript-engine-into-net-c">Embedding JavaScript engine into .NET (C#)</a> </p>
</blockquote>
<p>I have a script like this:</p>
<pre><code>var myObject=new Object();
myObject="Hello";
</code>... | c# javascript | [0, 3] |
1,661,923 | 1,661,924 | Loop through all elements with class name 'blah' in jquery and use the contents of the element in a function | <p>This is what i'm trying to do in pseudo code</p>
<pre><code>Find all <td> Elements with Class name 'OSGridRef'
For each <td> element pass the text of that <td> element into a function called ConvertToLatLong
Update an <td> element in the same table row that has the class name 'LatLong' with... | javascript jquery | [3, 5] |
4,090,091 | 4,090,092 | Re-fire a javascript event from a stored event object | <p>I have the following:</p>
<pre><code><textarea id="text"></textarea>
<textarea id="simulator"></textarea>
<br/>
<div onclick="simulate()">Simulate</div>
keyslog = [];
$('#text').bind('keyup keydown keypress mousedown mouseup', function(e){
keyslog.push(e);
}
function si... | javascript jquery | [3, 5] |
4,016,717 | 4,016,718 | Works in Firefox but not IE | <p>I make use of the following to find a string in a particular element, if it exists, tick a checkbox. This works great on Firefox but not internet explorer (8). I am having trouble finding why.</p>
<pre><code>$.fn.searchString = function(str) {
return this.filter('*:contains("' + str + '")');
};
var myID = $('di... | javascript jquery | [3, 5] |
4,398,256 | 4,398,257 | JQuery retrieving text with val instead of value | <p>I need to get the value from a select list but JQuery is returning the text within the options of the select.</p>
<p>I have the following simple code.</p>
<pre><code><select id="myselect">
<option selected="selected">All</option>
<option value="1">One</option>
<option valu... | javascript jquery | [3, 5] |
3,984,585 | 3,984,586 | Why the Sleep executes first and than the code above it in android? | <p>Why is the try block executed first, i want the colors to change first and then it should sleep fo 5000ms. i mean the system sleeps before the colors changes.
private OnClickListener CheckAnswer =new OnClickListener() {</p>
<pre><code> public void onClick(View arg0) {
// TODO Auto-generated method stub
... | java android | [1, 4] |
4,867,505 | 4,867,506 | how to use more element in listview? | <p>i m new to android .</p>
<p>i m doing my final yr project in android. </p>
<p>Is the any way to use more elements in list view control....</p>
<p>for example: fetch more data frm database and add it at runtime.
the formate may be</p>
<hr>
<p>text text</p>
<p>text text</p>
<hr>
<p>text text</p>
<... | java android | [1, 4] |
1,978,616 | 1,978,617 | is there a way to limit db entries in android? | <p>i want to make a free verison of my app and only allow 3 entires to be made into the database hwo would i do this?</p>
| java android | [1, 4] |
5,031,471 | 5,031,472 | Character encoding error | <p>Using asp.net pages with master page and getting error: </p>
<blockquote>
<p>The character encoding of the plain text document was not declared.
The document will render with garbled text in some browser
configurations if the document contains characters from outside the
US-ASCII range. The character encodi... | c# asp.net | [0, 9] |
1,953,656 | 1,953,657 | Deprecation warning message with import android.hardware.SensorListener library | <p>I add to application</p>
<pre><code>public class ShakeActivity extends Activity implements SensorListener
</code></pre>
<p>But I receive deprecation warning from eclipse when I write it. Is there any new library with any new Listener for making ShakeActivity? Thanks.</p>
| java android | [1, 4] |
4,692,208 | 4,692,209 | how to compare one parameter value from a javascript function and return if false | <p>i have a code that goes like this </p>
<pre><code>$('#submitme').click(function(e){
var indentifyForm= $('#submitme').closest('form').attr('id');
var flag =validateForm(validationFlag, indentifyForm);
//alert(validateForm(validationFlag));
if(flag){
return false;
... | javascript jquery | [3, 5] |
1,358,776 | 1,358,777 | What is the best way to detect Internet Explorer 6 using JavaScript? | <p>What is the best way to detect Internet Explorer 6 using JavaScript?</p>
<pre><code>If browser == IE6 {
alert('hi');
}
</code></pre>
| javascript jquery | [3, 5] |
4,573,130 | 4,573,131 | jquery & facebox image issue problem | <p>i am using facebox first time but the problem is facebox dialog is showing but images is not showing for loadingImage and closeImage.</p>
<p>i specify the images path like</p>
<pre><code><script language="Javascript" type="text/javascript">
$(document).ready(function () {
$.facebox.settings.loadingImage ... | jquery asp.net | [5, 9] |
141,823 | 141,824 | Cant select ids that I loaded with jQuery | <p>I understand that you need to use ".on" to use code that you loaded with jquery after the page has loaded. (At least I think it works that way)</p>
<p>So I tried that but it somehow just doesn't do a thing at all. No errors in the console either.</p>
<pre><code>$("#forgot_password").click(function(){
var forgot_... | javascript jquery | [3, 5] |
5,619,916 | 5,619,917 | If else and href ends in problem JQuery | <p>I'm struggling with the following code. The first if statement is doing what I want, then I need to make sure I don't add a parameter to an href if it ends in .pdf ... the second if statement is not working. I'm sure it is something simple because I know very little! Please help. Thanks!</p>
<pre><code>var string2 ... | javascript jquery | [3, 5] |
2,712,249 | 2,712,250 | How to poll a directory in ASP.NET? | <p>I want to poll a directory to check whether new file is added to the directory in ASP.NET web application (C#). If any new file is added I want to read that file.</p>
<p>Can anybody give me an idea how to do that?</p>
<p>Thanks.</p>
| c# asp.net | [0, 9] |
4,552,303 | 4,552,304 | Use HTML variable inside JavaScript | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/168214/pass-a-php-string-to-a-javascript-variable-including-escaping-newlines">Pass a PHP string to a Javascript variable (including escaping newlines)</a> </p>
</blockquote>
<p>Let's say there is some PHP file ... | php javascript | [2, 3] |
2,327,775 | 2,327,776 | Can we track clients ip address with php or javascript | <p>I don't trust any analytics or statcounter type websites
I want to track my visitors by my own coding </p>
<p>can we track it by php or javascript if yes then how </p>
| php javascript | [2, 3] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.