Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
5,291,646 | 5,291,647 | Box Plot Chart in ASP.NET and C# | <p>Hello I have a question I am trying to generate a Box Plot Chart in ASP.NET with C#. i did the regular bar chart but not the box plot chart the idea is to generate the chart like this ![enter image description here][1] </p>
<p><a href="http://imageshack.us/photo/my-images/232/ccxcxc.png/" rel="nofollow">http://imag... | c# asp.net | [0, 9] |
4,848,029 | 4,848,030 | jQuery html(), loading an img tag into a div | <p>When I do the following:</p>
<pre><code>var foo = '<p><img src="tracking.pixel.outside.my.domain /></p>';
$("#outputdiv").html(foo);
</code></pre>
<p>This is what shows up in outputdiv: <code><p></p></code></p>
<p>Is there some reason that this shouldn't work? I'm running out of idea... | javascript jquery | [3, 5] |
3,299,206 | 3,299,207 | Program needed to intreract with the browser | <p>I want to write a program so that when ever I open a browser and try to access an address like <em>www.google.com</em>, before sending this information to the server a message should be asked like </p>
<p><strong>Do you want to continue</strong>. </p>
<p>If I say yes the browser will submit the web page to the ... | java javascript jquery | [1, 3, 5] |
4,841,689 | 4,841,690 | extract part of URL from parent URL | <p>For this url </p>
<pre><code>"http://testsite/sites/TestSubSite/objstrat/CultureConnection/Pages/default.aspx"
</code></pre>
<p>Trying to extract everything after enterprise/sites.
I want <code>"/TestSubSite/objstrat/CultureConnection/Pages/default.aspx"</code></p>
<p>I can get the filename like this: </p>
<pre>... | javascript jquery | [3, 5] |
3,295,428 | 3,295,429 | "Function.createDelegate" causes "Error: Object doesn't support property or method 'createDelegate'" | <p>I am trying to get browser back button support in silverlight by following <a href="http://jakkaj.wordpress.com/2008/09/08/control-silverlight-by-using-browser-back-and-foward-buttons/" rel="nofollow">this</a> tutorial.
I am using Silverlight 4, Asp and .net4.0.</p>
<p>I am not very used to javascript and compared ... | javascript asp.net | [3, 9] |
3,906,863 | 3,906,864 | Sliding / following navigation menu | <p>I am looking for a simple jQuery or Javascript solution to make a navigation sidebar smoothly following the user when he scrolls down a page.
Something like here: <a href="http://ucon-acrobatics.com/shop/" rel="nofollow">http://ucon-acrobatics.com/shop/</a></p>
<p>Any ideas are appreciated.</p>
| javascript jquery | [3, 5] |
1,812,657 | 1,812,658 | Long integer to 16 character Hex for Google Reader sync | <p>Python Code </p>
<pre><code>h = "%s"%("0000000000000000%x"%(i&0xffffffffffffffff))[16:]
</code></pre>
<p>I'd like to know how this would be done in PHP.</p>
<p>The application is for google reader syncronization.
An initial sync list comes with numeric values, but the actual article id hex.</p>
<p>Example Lo... | php python | [2, 7] |
1,550,146 | 1,550,147 | How can I use Intent on Java, Android? | <p>I have written the following code for playing video:</p>
<pre><code>private void loadPlayer() {
Intent youtube=new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=CES7xNy70hU"));
startActivityForResult(youtube, 100);
}
</code></pre>
<p>My problem is that when the player finish... | java android | [1, 4] |
1,873,827 | 1,873,828 | Will postback in asp.net always causes a "navigate away" warning | <p>I have a pretty simple questions that had stumped me so far ..
I am trying to do a one-level cascading drop down in ASP.NET.</p>
<p>So, I have two drop down boxes (among other text boxes), after ddlOne is selected, then ddlTwo will be populated.</p>
<p>here's my code in aspx</p>
<pre><code><asp:UpdatePanel ID=... | c# asp.net | [0, 9] |
5,779,840 | 5,779,841 | Enhancing the SimpleCursorAdapter to check the data in Android? | <p>I have a sqlite database. I am able to query it and get a cursor with results. It populates the data well in a list view which has 1 image view and 2 text views. However the cursor result set which has 2 columns is of text. This is shown in the 2 text views. Everything till here works fine.</p>
<p>Now based on the ... | java android | [1, 4] |
3,291,773 | 3,291,774 | How to get array data passed by .post in jquery into php? | <p>I have a problem regarding on how to get the value of the array variable passed by <code>.post</code> in jquery into my php page</p>
<p>this is my jquery code:</p>
<pre><code>minDate = [];
hoursWork = [];
empId = [];
$('.minDate').each(function() {
minDate.push($(this).val());
});
... | php jquery | [2, 5] |
3,113,431 | 3,113,432 | Using Jquery not able to get correct out put | <p>I did a small style changing app using Jquery in Asp.Net 3.5 .I am having IE7.
When i click on button the paragraph color should change.
Problem is ,the color is changing,it is not stable.Means just like blinking.
Please find the code below</p>
<pre><code><head runat="server">
<title>Untitled Page&l... | c# javascript jquery asp.net | [0, 3, 5, 9] |
1,435,048 | 1,435,049 | JQuery Filter Tag Value | <p>I am trying to select a clicked "a class mail" href value in order to filter it and add a one word string after the text "...subject=[Site]..." to be like this: "...subject=[Site] string..."</p>
<p>envie um e-mail para sites@atipico.com.br</p>
<p>This is as far as I can go:</p>
<p><code>$('a.mail').click(function... | javascript jquery | [3, 5] |
636,678 | 636,679 | Activate android application features by voice comands | <p>I want to create an app for visually impaired individuals where when the user says 'start manual' the help manual (a voice recording) plays, is there any way I can do this using android, I'd be grateful if you can point me towards any tutorials or examples.
Thanks.</p>
| java android | [1, 4] |
2,847,124 | 2,847,125 | Open browser to web page Android App | <p>Trying to grasp Java and Android would like help with a simple task of opening a users browser after they click a button. </p>
<p>I have been doing tutorials for the last two days though it might help if I just took a stab at it and got feedback. thanks in advance for any help.</p>
<p>main.xml:</p>
<pre><code><... | java android | [1, 4] |
4,601,450 | 4,601,451 | How do I load data from my database before jQuery formats my listview? | <p>I have used jQuery to format my list view.</p>
<p>Because it takes too much time to load data from the database, jQuery will start to format the list view before it completes loading the data.</p>
<p>So how do I load data from the database <em>before</em> jQuery formats my listview?</p>
| jquery asp.net | [5, 9] |
4,374,493 | 4,374,494 | How can I use cookies while screen scraping? | <p>I want to scrape data from PHP web pages that are behind a login page. How can make it so I log in only once and then be able to access data on the subsequent pages without logging in again?</p>
| java android | [1, 4] |
1,062,311 | 1,062,312 | Execute a PHP function from image OnClick event | <p>I have a PHP class in which there is a <code>delete</code> function. When I click on the image I want to call <code>delete</code>, but this line is not working:</p>
<pre><code>echo "<img src='icon/del.gif' onClick='.delete().'/>"
</code></pre>
<p>I have tried using the <code>href</code> tag but it doesn't w... | php javascript | [2, 3] |
1,900,600 | 1,900,601 | Import data from a SQL DB Table's Column (a DataSet) into a TextBox? | <p><em>Using: ASP.NET 4, SQL 2008, C#</em></p>
<p>I'm writing a web app for our projects team to keep track of special project users. One thing they have asked is to export quick lists of data that they use often. For instance, what I'm trying to do here is give the team a button which will populate a TextBox with all... | c# asp.net | [0, 9] |
286,422 | 286,423 | Preventing list items from displaying whilst overlay images load | <p>I have created 6 divs .box that contain an unordered list and images with the images being absolutely positioned above each list. Is there a way I can make sure the content under the image isnt revealed whilst the content boxes fade in?</p>
<p><a href="http://jsfiddle.net/NKFgC/" rel="nofollow">http://jsfiddle.net/... | javascript jquery | [3, 5] |
1,771,693 | 1,771,694 | methods in foreach and for loops in java | <p>My question is regarding optimization in java using the Android compiler. Will map.values() in the following be called every iteration, or will the Android compiler optimize it out.</p>
<pre><code>LinkedHashMap<String, Object> map;
for (Object object : map.values())
{
//do something with object
}
</code>... | java android | [1, 4] |
2,249,023 | 2,249,024 | calling master page constructor from content page | <p>I have parameterized constructor for the master page and no default constructor.
How can i call the master page constructor from content page constructor.</p>
<pre><code>BaseClass(): Master.Master(x)
or
BaseClass()
{
Master.Master(x)
}
</code></pre>
<p>both does not work</p>
<p>Thanks a lot in advance for help,... | c# asp.net | [0, 9] |
421,968 | 421,969 | conflict with php zend libs and c++ libs(ctime) to build extension for php | <p>Im going to build an extension for PHP 5.3.x</p>
<p>everything is OK when I build without vc++ lib.</p>
<pre><code>error C2039: 'clock_t' : is not a member of '`global namespace''
error C2873: 'clock_t' : symbol cannot be used in a using-declaration
error C2039: 'asctime' : is not a member of '`global namespace''... | c++ php | [6, 2] |
5,839,090 | 5,839,091 | Creating a Quiz with jQuery | <p>Does anyone have an example of a quiz made with jQuery, without server-side processing of the results? After answering the questions, the result appears instantly. :)</p>
| javascript jquery | [3, 5] |
2,346,912 | 2,346,913 | FormsAuthantication sign out | <p>I have an asp.net application, and I am using FormsAuthantication. When the user closes the page, the code located in Global.asax Session_End is executed : FormsAuthantication.SignOut();
But the problem is, session is not ending, if the user tries to open a page with cookie, the page shouldn’t be opened. User must ... | c# asp.net | [0, 9] |
5,756,257 | 5,756,258 | increase response rate to ip log | <p>I am logging visits to several of my pages to determine geographic areas of visitors. I am using the google client location api. I seems to work correctly on my development equipment. However, only a few of my visitors are actually being logged to the database. What can I do to increase the logging percentages?</p>
... | php javascript | [2, 3] |
109,644 | 109,645 | Clearing a TextBox in ASP.NET | <p>I have webpage where there is textbox having some default value. </p>
<p>I have to clear the value from text box. I have 2 options</p>
<pre><code>1. textbox.text="";
2. textbox.text.remove(0,length);
</code></pre>
<p>Here i would like to know which one should i use. Does it make any impact on page performance bec... | c# asp.net | [0, 9] |
3,134,089 | 3,134,090 | how to create print preview of the document printed | <p>I am developing a custom pane which will show up when the user presses 'Print'. This custom pane need to have a print preview. Please tell me how to create dynamic print preview of a document/images,etc.</p>
<p>Thanks in advance</p>
| c# c++ | [0, 6] |
5,573,725 | 5,573,726 | Append a large li to ul: best way? | <p>I have a li that has numerous nested divs. I am appending to a ul as follows:</p>
<pre><code> $("ul#List").append('<li><div>....many more nested divs...</li>');
</code></pre>
<p>the structure of the li is the same as the other lis in ul but i have to modify some elements. </p>
<p>My questio... | javascript jquery | [3, 5] |
4,950,386 | 4,950,387 | highlite text parts with jquery, best practice | <p>i have a list of items containig names.
then i have a eventlistener, which ckecks for keypress event.
if the user types i.g. an A all names starting with an A should be viewed with the A bold. so all starting As should be bold.</p>
<p>what is the best way using jquery to highlite only a part of a string?</p>
<p>t... | javascript jquery | [3, 5] |
3,438,673 | 3,438,674 | ASP.net Repeater get current pointer/counter | <p>the question is really simple.
Is there a way to access the current pointer/counter for an asp Repeater control.</p>
<p>I have a list with items and I would like one of the repeaters columns (it repeats and html table) to be something like ...</p>
<p>Item 1 | some info</p>
<p>Item 2 | some info</p>
<p>... and so... | c# asp.net | [0, 9] |
614,931 | 614,932 | Use of RegisterClientScriptBlock/RegisterStartupScript in asp.net 3.5 | <p>i am not able to understand what is the use of it.RegisterClientScriptBlock/RegisterStartupScript</p>
<p>when we can direclty write the javascrpt code in.js file then call it on the button</p>
<p>ex: 2</p>
<pre><code><script>
function ReqField1Validator() {
if (document.forms[0].txtField1.valu... | c# javascript asp.net | [0, 3, 9] |
2,477,895 | 2,477,896 | Find all radio groups which haven't been selected | <p>I have a basic quiz/survey type application I'm working on, and I'd like to give the user a prompt before they submit if they haven't answered all the questions. All the questions are multiple choice using radio buttons:</p>
<pre><code><div class="question">
Q1: What is the second letter of the alphabet?
... | javascript jquery | [3, 5] |
2,342,278 | 2,342,279 | Jquery dynamic TextBoxes with Request.form Iteration | <p>i am Adding multiple TextBoxes with Jquery in my Application, then in code behind file i want can access the values by Request.form[name]. I want o iterate these textboxes and read values of whatever Text is entered by the user, so i can store it in database.
any idea how can i save the value of these textboxes in D... | c# jquery asp.net | [0, 5, 9] |
3,304,866 | 3,304,867 | Best way to save a little amount of data | <p>I'm currently developing an Android application where OAuth will be in use. In order to use OAuth, I need to be able to save the consumer's private key to access the protected resources. My question is, where would I want to save this tiny piece of data? I know that for most Android applications, data would be store... | java android | [1, 4] |
2,345,156 | 2,345,157 | Why doesn't file_get_contents load phpscript properly in this example? | <p>I wrote a bit of code, that in essence does the following:</p>
<pre><code><div id="thisDiv">
</div>
<?php
echo "<script>document.getElementById('thisDiv').innerHTML = '".addslashes(str_replace(array("\n", "\r"), "", file_get_contents('/path/to/file/example.php'')))."';</script>";
?>
<... | php javascript | [2, 3] |
675,634 | 675,635 | Getting commands from string input | <p>I have a program which gets commands as a string. Each character in the string represents a command. An example of command is given below</p>
<pre><code>OBIPC
</code></pre>
<p>O - Open a file</p>
<p>B - Make the text in Bold</p>
<p>I - Make the text in italics</p>
<p>P - Print the text</p>
<p>C - Close the fil... | c# c++ | [0, 6] |
4,855,659 | 4,855,660 | What are some FOSS libraries for reading epub, mobi, pdf, or other eBook formats for Android or Java? | <p>What are some FOSS libraries for reading epub, mobi, pdf, or other eBook formats for Android or Java?</p>
| java android | [1, 4] |
2,292,416 | 2,292,417 | How select element in previously generated html code using jQuery? | <p>I'm generating a options elements for select el. And after document ready, I need do each() for all this elements. How can I do this?</p>
<p>ps I know how select this elements after some events, live(). But now, it's impossible.</p>
| javascript jquery | [3, 5] |
4,717,963 | 4,717,964 | Assets @ Android | <p>I am having problems listing assets in my apk file, my aim is to be able to get the direct path of one of my assets and pass it to native code using JNI<br/>
1. I have added a file to the assets folder of my project<br/>
2. <strong>I have verified that the file exist in the '/assets' folder</strong> of the apk fil... | java android | [1, 4] |
2,117,984 | 2,117,985 | How to rebind checkboxlist | <p>I have a checkboxlist which contain 3 checkboxes whose values are check1,check2,check3. In database, in table, there is a field to save the values of checked checkboxes.</p>
<p>If that field conatins values check1, check2, check3 and if I use following code to bind checkboxlist, only check3 gets checked, but check1... | c# asp.net | [0, 9] |
395,202 | 395,203 | Retrieve images in Android | <p>I have an app containing a large number of HD images , so my app is too big (over 150 MB) when I put images in app resource. If there is alternative way to retrieve images remotely and not include them inside the app ,i saw some images apps when open it start download images then appear in app , its downloaded from ... | java android | [1, 4] |
4,625,780 | 4,625,781 | How do I pass a method through another method without it being called, and pass a variable object into it? | <p>Sorry for my last question. This is the question with better formatting.</p>
<p>I have a method that I am passing a method through :</p>
<pre><code>method("my_passed_method()")
function method(passed_method){
eval(passed_method.replace('()', + '(' + obj + ')' );
}
</code></pre>
<p>But this returns :</p>
<p... | javascript jquery | [3, 5] |
3,382,982 | 3,382,983 | Most efficient way to use inheritance in this example? | <p>So I've been messing around with some JavaScript inheritance techniques and here's one case in which I'm trying to derive a strong solution.</p>
<p>Here's a simple example:
<a href="http://jsfiddle.net/JgrYu/" rel="nofollow">http://jsfiddle.net/JgrYu/</a></p>
<p><strong>The Issue:</strong> Logically we'd expect th... | javascript jquery | [3, 5] |
921,590 | 921,591 | setup format for columns of DataTable or GridView | <p>How can I setup some format for cells in some column in my DataTable or GridView ?</p>
<p>I need to make some double columns rounded , for example :</p>
<p>3.564643 -> 3.56</p>
<p>3.546723 -> 3.55</p>
<p>6.654644 -> 6.65</p>
<p>thank you.</p>
<p>DataFormatString ?
where ?</p>
<p>Question still active, I didn... | c# asp.net | [0, 9] |
5,781,888 | 5,781,889 | getting value from popup window | <p>is this code is write or wrong?</p>
<pre><code>imgbtnProdSearch.Attributes.Add("onclick", "window.open('popUp.aspx?name=" +txtSelectProdName.ClientID+"','_new','width=1000px,height=1000px');return false");
</code></pre>
| javascript asp.net | [3, 9] |
467,827 | 467,828 | How to modify XML with JQuery | <p>I am trying to modify a status flag in an XML structure using Javascript. Using examples found on the internet I believe this should work: </p>
<pre><code>test = "<?xml version='1.0' encoding='utf-8' standalone='no' ?>" +
"<resultaat>" +
"<type>6</type>" +
"<status>... | javascript jquery | [3, 5] |
5,883,760 | 5,883,761 | Getting an error when I copy files image files to drawable | <p>I copied two images in the folder <code>drawable-hdpi</code>,<code>-ldpi</code>,<code>-mdpi</code> and referenced that image to a button.</p>
<p>I'm getting following error in my console: <strong>" No resource found matching the give name"</strong>.</p>
<p>What am I doing wrong?"hello" is the name of the image i r... | java android | [1, 4] |
873,198 | 873,199 | Problem in exporting Chart to excel | <p>I have dynamically created table in which some data rows and one MS Chart is there.
How can I send that table to excel including chart .</p>
<p>I am using the fallowing code to export but it unable to render chart.</p>
<pre><code> protected void btnGetExcelReport_Click(object sender, EventArgs e)
{
Ta... | c# asp.net | [0, 9] |
5,336,074 | 5,336,075 | What's the best choice for developing real time form validation in ASP.NET | <p>I want to make a real time form validation in asp.net form in which when i lost focus a field it show an error or success of field entrance data <BR/>
i search for best way to do that ..<BR>
and if i want to do the same by validating data from SQL Database ... what's the best choice for doing that ?</p>
| asp.net javascript jquery | [9, 3, 5] |
5,922,562 | 5,922,563 | Can't open Websphere Portal 7.0 Login Page after its integration with a custom user registry? | <p>I am currently working on a project related to Websphere Portal 7.0 on Windows Server 2008 R2,64 bit. I am trying to integrate websphere portal with my custom user registry.I have completed all the steps required to implement custom user registry in portal as given in IBM documentation.I am adding my custom reposito... | java c++ | [1, 6] |
3,001,159 | 3,001,160 | Sequence of running code in jQuery | <p>This is a part of my code:</p>
<pre><code>$.post('category.php',{datatosend : datatosend},result);
function result(data) {
$('#placeHolder').append('<select onchange="loadcats();" id="categoryPID" name="categoryPID" >').append(data).append('</select>');
alert($('#placeHolder').html());
})... | javascript jquery | [3, 5] |
118,848 | 118,849 | Android in Eclipse autocompletes arg0, arg1, | <p>Come on, I know this is simple, but I can't find an answer. When I autocomplete in Android in Eclipse, the methods get param names like arg0, arg1, etc. Presumably, this would be better if I had source or something for Android located somewhere, but there are 14,000 git repositories for it and I don't know which t... | java android | [1, 4] |
2,961,491 | 2,961,492 | Class inside a function causing null pointer exception | <p>The following code causes null-pointer exception during execution. It just said null pointer exception.</p>
<p>When I put the hotItem class outside of the function, it works without any problem.</p>
<p>Once I put it into the function, it will cause null pointer exception.</p>
<p>I just want to know why this would... | java android | [1, 4] |
2,830,152 | 2,830,153 | Plotting Realtime Graph in visual studio c++ | <p>I am a new to windows programming. I am developing a application to process the measurement data from a laser sensor. I have got the data from the sensor and did some calulations and I need to plot the data which are in the double arrays say afx[81] and afy[81].. I have been browsing since yesterday to plot the 2-D ... | c# c++ | [0, 6] |
2,123,577 | 2,123,578 | Jquery image fade effect | <p>I am using this code, but when it changes the image, the image fades out and then the other image fades in, meanwhile I can see the background color, I dont want to see the background color, is there any simple way to fade images but at the same time to fade in the next image, or another jquery effect like slide the... | javascript jquery | [3, 5] |
3,105,058 | 3,105,059 | jQuery each function only returning last result of total results | <p>I have an object with key : value pair. I'm looping through this object and if the key matches the value that's passed into my function I add it to another variable. The problem is that my code ends up looping through the results and only adding the last match to my new variable.</p>
<pre><code>function DirectoryOf... | javascript jquery | [3, 5] |
1,479,606 | 1,479,607 | I need help with these two functions | <p>The first one displays the div, the second one hides the dive up on clicking anywhere else in the document. the problem i have is, when i click the button to show the div, it also counts as a document click so it hides the div. how can i it make not hide the div when i click to show the div</p>
<pre><code><scrip... | javascript jquery | [3, 5] |
5,369,095 | 5,369,096 | jQuery adding 2 numbers from input fields | <p>I am trying to add two values of alert boxes but I keep getting a blank alert box. I don't know why.</p>
<pre><code>$(document).ready(function(){
var a = $("#a").val();
var b = $("#b").val();
$("submit").on("click", function(){
var sum = a + b;
alert(sum);
})
})
</code><... | javascript jquery | [3, 5] |
1,340,085 | 1,340,086 | How to close Browser Tab After Submitting a Form? | <pre><code><?php
/* ... SQL EXECUTION TO UPDATE DB ... */
?>
<form method = "post"
action = "<?=$_SERVER['php_self']?>"
onSubmit= "window.close();">
...
<input type="submit" value="submit" />
<input type="reset" value="reset" />
</form>
</code></pre>
<p>I ... | php javascript | [2, 3] |
5,961,165 | 5,961,166 | jquery deleting a table row help | <p>I have some code like this to delete a row then display a dialog.</p>
<p>the first time i click delete id removes the row straight away.
but on any subsequent rows i try to delete i sometimes need multiple clicks before it removes the row.</p>
<p>sometimes the dialog shows and the row is still there!</p>
<p>what ... | javascript jquery | [3, 5] |
2,909,741 | 2,909,742 | Jquery to iterate through a list | <p>Following jQuery is not working on given select box.</p>
<p>I want to iterate through all the options of select box.</p>
<p>Where am I going wrong?</p>
<p>Am not getting <code>alert("hi")</code>, I.E. <code>$("#FileType").find('x:option').each(function(){</code> is not executing.</p>
<pre><code><x:select id="... | javascript jquery | [3, 5] |
5,046,382 | 5,046,383 | Android Execute External .sh - Max Number of Commands? | <p>I'm calling a natively compiled executable via my Android application.</p>
<p>I need to call it multiple times, and to make sure the commands are executed sequentially I append them all to a script and then call this via /system/bin/sh. </p>
<pre><code>Runtime.getRuntime ().exec ("/system/bin/sh /path/to/script.sh... | java android | [1, 4] |
3,999,047 | 3,999,048 | Setting Default URL in Web.Config for website | <p>When users navigate to my site, I want it to display :</p>
<pre><code>http://example.com
</code></pre>
<p>and not: </p>
<pre><code>http://example.com/default.aspx
</code></pre>
<p>How can I do that?</p>
| c# asp.net | [0, 9] |
5,008,514 | 5,008,515 | jQuery Check if String Contains Word | <p>I'm working on an application where you can click on user names to add them to the reply list.
If the username is already added, it doesn't add their username again.
The problem I'm having is that if the user @assassin is added, and I try to add the user @ass, it finds @ass-assin and thinks that @ass is already adde... | javascript jquery | [3, 5] |
4,797,832 | 4,797,833 | asp:linkbutton inside gridview | <p>I have a serverside dropdownlist and I am accessing it's id in jquery like this</p>
<p>$('#<%=ddldropdownlist.clientID%>')</p>
<p>I have a asp:LinkButton inside a gridview and I want to access it's client ID.</p>
<p>when I do as above in jquery it doesn't work</p>
<p>I think that's not the correct way since t... | asp.net jquery | [9, 5] |
804,374 | 804,375 | Loading local files via jQuery | <p>Spent 3 hours reading reference, but still no effect, so asking here.</p>
<p>OS: Windows 7 (is it relevant?)<br>
Browser: Opera 11.51<br>
jQuery: 1.6.2</p>
<hr>
<p>Two files on a local machine, <strong>main.html</strong> and <strong>menu.html</strong> in the same folder.</p>
<p>main.html:</p>
<pre><code... | javascript jquery | [3, 5] |
1,388,653 | 1,388,654 | Unbind an element and add back after animation stops | <p>I am trying to <code>unbind</code> an element, an then <code>bind</code> it back after a page scroll animation completes:</p>
<pre><code>$(".trigger").click(function(){
$(".class1 a, .class2 a").unbind();
$('html, body').stop().animate({scrollTop: $('#container').offset().top}, 1000);
$(".class1 a, .class2 a"... | javascript jquery | [3, 5] |
1,609,322 | 1,609,323 | How to print a page content (div, form, jqgrid) using a single button click? | <p>i.e. When I click the button from my page, the desired page content should get printed in a sheet. The main goal over here is, it should not show me with the print dialog box/print preview of the page asking for OK or CANCEL button where we can also choose for multiple prints of a particular page. Thanks in advance.... | java javascript jquery | [1, 3, 5] |
4,152,560 | 4,152,561 | jquery restricting numbers greater than required | <p>Need to restrict typing more than 20 numbers in a text box in jquery.
How to implement it.</p>
<p>Any help is appreciated.</p>
<pre><code><table>
<tr>
<td>
<h:inputText id="Actualcard" styleClass="input-text-bx"></h:inputText>
</td>
</tr>... | javascript jquery | [3, 5] |
3,817,129 | 3,817,130 | How do I stop a element hit area from moving off the screen when window is scrolled, JavaScript/Jquery? | <p>When I scroll the window/page the hit area denoted by the 100 value in <code>n.mousePositionY('.nav', 100);</code> moves off the page/screen. Is there a way of always having that 100 value stay on the screen irrespective of scrolling...it's for a navigation menu I'm working on. Here's the code so far:</p>
<pre><cod... | javascript jquery | [3, 5] |
1,125,147 | 1,125,148 | apk download issue | <p>Hi
I am trying to download apk file from https and http ,I am not able to proceed.
What wrong i may be doing.When trying on https I have added .htaccess file on apache server containing the AddType for android.
When tried on http it didnt worked.</p>
<p>Any help is appreciated.
Thanks in advance.</p>
| java android | [1, 4] |
5,248,026 | 5,248,027 | jquery beforeunload messages depending on button clicked | <p>Im having problem altering jQuerys <code>beforeunload()</code> functionality, depending on user actions.</p>
<pre><code>$(document).ready(function() {
$(window).bind('beforeunload', function() {
if (billChanged == false) {
return false;
}
else if ( savebut... | javascript jquery | [3, 5] |
2,496,052 | 2,496,053 | select mutiple items from listbox | <p>I have a string as</p>
<pre><code>var selected_values = '1#2#3#4#5';
</code></pre>
<p>Now these are all values for <option>, which are separated by # (so final selected values would be 1 2 3 4 5), I need to select only those "options" whose value is mentioned in above string</p>
<p>How can I achieve this?
1... | javascript jquery | [3, 5] |
3,723,477 | 3,723,478 | Calling Codebehind .cs file method in Javascript method in asp.net | <p>I am trying to do the page level validation in javascript for and element and if the validation is passed i want to call the codebehind method .cs file method of .aspx.cs file method.
Can anyone please provide any details / code which will make this requirement work in an easy way.
I am trying to do this in C# .ne... | c# javascript asp.net | [0, 3, 9] |
707,150 | 707,151 | "Function.createDelegate" causes "Error: Object doesn't support property or method 'createDelegate'" | <p>I am trying to get browser back button support in silverlight by following <a href="http://jakkaj.wordpress.com/2008/09/08/control-silverlight-by-using-browser-back-and-foward-buttons/" rel="nofollow">this</a> tutorial.
I am using Silverlight 4, Asp and .net4.0.</p>
<p>I am not very used to javascript and compared ... | javascript asp.net | [3, 9] |
3,925,363 | 3,925,364 | How to form this kind of graph? | <p>I want to create this kind of graph on the basis of user entered data.
the main issue is regarding the display of boxes on the point.
Let me explain you a bit,background does contain a gradient image which resembles to the color of urine the patient want to mention.</p>
<p>Please suggest me something to create this... | javascript jquery | [3, 5] |
2,723,318 | 2,723,319 | How can I highlight a sentence that is spread over more than one tag | <p>If i have text some thing like below.. </p>
<pre><code>var str="Hi, How are you";
</code></pre>
<p>If i want to highlight this text in the below HTML in a single attempt rather than spliting it into an array. In document if my HTML is like below.. </p>
<pre><code><div> Hi, <span>How are</span>... | javascript jquery | [3, 5] |
1,138,369 | 1,138,370 | Open a new window/tab | <p>I am working on a donations website. In my page, I have a textbox which accepts a numeric value from the user (that is, money to be donated).</p>
<p>In my code-behind, I have a method which checks whether the value in the textbox is numeric. The method generates an error message if the number is invalid.</p>
<p>... | c# javascript asp.net | [0, 3, 9] |
2,266,847 | 2,266,848 | How to load the web page content based on user scrolling | <p>How to load the content while user scroll the web page. How to implement this?</p>
| javascript jquery | [3, 5] |
1,915,279 | 1,915,280 | Is there a place where we can see PHP <=> C++ equilavent libraries/function for a php developer starting with C++? | <p>Is there a place where we can see PHP <=> C++ equilavent libraries/function for a php developer starting with C++?</p>
<p>As a PHP developer starting with C++, I often ask myself: what is the equivalent of such-and-such PHP function in C++?</p>
<p>The advantage of php, is that we have a very nice site which doc... | php c++ | [2, 6] |
4,867,767 | 4,867,768 | Using jQuery or JavaScript to Add Attribute to Anchors After DOM Already Loaded | <p>I have an application that requires the "ontouchstart" attribute to be added to each and every anchor in order to have the anchor:active CSS state to work on iOS devices.</p>
<p>Trouble is that the entire application loads content via AJAX after the DOM has already loaded, which means any <code>$(selector).attr('on... | javascript jquery | [3, 5] |
2,529,760 | 2,529,761 | double click needed to activate binded mousedown/up | <p>this is part of my code:</p>
<pre><code>$('.toggle_box').each(function (){
var timeout, longtouch;
$(this).bind('mousedown', function() {
timeout = setTimeout(function() {
longtouch = true;
}, 1000);
$(this).bind('mouseup', function(){
if (!longtouch) {
... | javascript jquery | [3, 5] |
3,803,182 | 3,803,183 | Use jQuery to set background color with value from database | <p>I'm looking for an example of how I would read a value from a database and use it in a jQuery script to set the background color of a control. I'm still learning jQuery, and it's not clear to me how to get a value from the database. I'm using ASP.NET MVC, and my form is already pulling the value - do I need to put i... | asp.net javascript jquery | [9, 3, 5] |
5,631,946 | 5,631,947 | Binding a php variable with Jquery slider | <p>I have two JQuery sliders, value of "Second_Slider" gets updated and a div named
"amount2" as well as it should.</p>
<p>Now i want to update an php variable to the value of "Second_Slider" also. how can i achieve this?</p>
<pre><code> $( "#Slider" ).bind( "slide", function(event, ui) {
$("#Second_Slider").sl... | php javascript jquery | [2, 3, 5] |
2,113,521 | 2,113,522 | using tree node class in c# | <p>I have a tree node and the tree node can be checked. The thing is that I need to be able to gray out or disable a specific node programmatically. So for instance</p>
<pre><code> [] Head Node
[sub Node]
[sub Node]
[] another node 1
[] another node 2
</code></pre>
<p>So lets say that I check "anothe... | c# asp.net | [0, 9] |
2,916,187 | 2,916,188 | Javascript for check and uncheck detection for the checkbox list control | <p>I want to write javascript logic for the check box list asp.net control, that if some condition in check box selection is true then select all, else deselect all.
How to figure out this check uncheck and there value using javascript? </p>
| javascript asp.net | [3, 9] |
3,857,438 | 3,857,439 | redirect to the same page without changes in that page | <p>i have a web page with a hyperlink that set target to a _blank page. In that page if i click a button i need to get the text generate in that button to the previous page without changing the details on the previous page. </p>
<p>this is the parent text code.</p>
<pre><code><asp:TextBox id="txtMatId" runat="serv... | c# asp.net | [0, 9] |
2,104,156 | 2,104,157 | Unresponsive Fade-In Fade-Out in Jquery | <p>I am implementing a twitter-style follow/unfollow functionality with the following jquery.</p>
<pre><code>$(function() {
$(".follow").click(function(){
var element = $(this);
var I = element.attr("id");
var info = 'id=' + I;
$("#loading").html('<img src="loader.gif" >');
... | php javascript jquery | [2, 3, 5] |
2,594,939 | 2,594,940 | generate php in javascript? | <pre><code>var page_my_code_is_on = (document.referrer);
document.write("<?php echo '" + page_my_code_is_on + "'; ?>");
</code></pre>
<p>how can I write the above php as a var within the js, as opposed to <code>echo</code> ?</p>
<p>I read the following but it did not work for me</p>
<p><a href="http://www.web... | php javascript | [2, 3] |
5,238,928 | 5,238,929 | form validation using javascript in changing input tags | <p>I need to validate a form using JavaScript. The form keep changes since I am using data from a field name table to print each field (like name, address, phone no.). I'm using a loop to print the label for field and corresponding text input tag. (eg. name : textbox to enter name, phone no : textbox to enter phone no.... | php javascript | [2, 3] |
3,937,536 | 3,937,537 | How to execute JavaScript on UserControl PostBack in asp.net? | <p>We have an asp.net page that consists of multiple user controls, many of which have the <code>visible</code> attribute set to <code>false</code>.
By selecting a radio button, one of the user controls is shown by setting the <code>visible</code> attribute to <code>true</code> in the code-behind. When this happens, we... | javascript asp.net | [3, 9] |
395,252 | 395,253 | Restrict single and double quotes in textbox in ASP.NET | <p>I want to restrict sinqles qoutes and double quotes to enter to a Textbox in Asp.net. How can i achieve it? How can i validate the textbox?</p>
| c# asp.net | [0, 9] |
1,675,181 | 1,675,182 | Is there a way to set a asp.net button's CommandArgument in javascript? | <p>I have a GridView that lists a bunch of items and one of the columns has a link that displays a modal (AjaxToolkit ModalPopupExtender). Let's call that link "Show". In that modal, I have a asp:button for saving the data entered in that modal. Let's call that button "Save"</p>
<p>So when the user clicks on a "Show... | asp.net javascript | [9, 3] |
2,423,481 | 2,423,482 | use jquery functions on PHP string | <p>I'm searching for a php library which i can use like jquery on a php string.
I have a string in php</p>
<pre><code>$html = "<html><head></head><body><div><span>test</span></div></body></html>";
</code></pre>
<p>Now I want to use functions like $("body").f... | php jquery | [2, 5] |
1,387,643 | 1,387,644 | How to show the Birthdate in mm/dd/yyyy format if year is separated from it? | <p>I have a modalpopup inside it I have checkboxes,when I check the checkboxes and save the changes there is a dynamically created table with dynamically generated labels.I have a checkbox Birthdate inside the modal popup which shows the mm/dd only.And another checkbox below it that will show the year only, and will b... | c# asp.net | [0, 9] |
5,318,977 | 5,318,978 | client side validation and server side validation in java script and asp.net respectively? | <p>hi all i want to know that can we validate a control which is out side a form element in asp.net(server side validation)and outside a form element in html(client side validation) let's take a closer look </p>
<pre><code><html>
<body>
<input type="text" name="first name"/>
</body>
</htm... | javascript asp.net | [3, 9] |
3,755,373 | 3,755,374 | How to get all elements within a div | <p>How can i get all the elements inside a div except some specific div
For eg if the structure is as follows</p>
<pre><code><div id="abc">
<div class="def">
sagar patil</div>
<div class="pqr">
patil</div>
<div class="pqr">
sagar patil</div>... | javascript jquery | [3, 5] |
3,606,994 | 3,606,995 | controlling vibration intensity in android phones? is it possible? | <p>I am developing a game. In which, i want do set different vibration intensities for different events. I just want know if its really possible to control the vibration intensity and duration. Any advice or reference links, could be very helpful. Thanks in advance.</p>
| java android | [1, 4] |
3,250,742 | 3,250,743 | JQuery remove selected rows from a table | <p>Suppose I have a table:</p>
<pre><code> <table id="mytable">
<tr>1</tr>
<tr>2</tr>
<tr>3</tr>
<tr>4</tr>
<tr>5</tr>
<tr>6</tr>
...
...
</table>
</code></pre>
<p>I know you can use <code>('#mytable... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.