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,825,621 | 2,825,622 | jQuery bootbox dialog | <p>I try to get the following code to work</p>
<pre><code>//===== Dialogs =====//
$(".table a.delete").click(function (e) {
e.preventDefault();
bootbox.confirm("Are you sure?", function (confirmed) {
if (confirmed) {
var $el = $(this);
var $tr = $el.closest('tr');
va... | javascript jquery | [3, 5] |
296,765 | 296,766 | How to add DropDownlist of all users to ListView | <p>I have a ListView control, I want to edit the InsertItem Template to include a Dropdownlist Item which contains a list of users in Membership Directory.</p>
<p>I tried this:</p>
<pre><code> MembershipUserCollection users = Membership.GetAllUsers();
assigned_volunteerDropDownBox.DataSource = users;
assi... | c# asp.net | [0, 9] |
2,670,874 | 2,670,875 | How to disable enter key from submitting in jquery / javascript, but retain other enter key behavior | <p>What is the best way to disable the <code>enter</code> key from submitting a form, but retain all other default behavior of the <code>enter</code> key? </p>
<p>We have a website with hundreds of forms, many of which already have onsubmit handlers attached to the submit elements. Our users are getting annoyed that... | javascript jquery | [3, 5] |
2,062,155 | 2,062,156 | lock all submit button before page fully rendered | <p>may i know how to use jquery to lock all the <code><input type="submit/button" ..</code> and only allow submit when page is fully rendered?</p>
| javascript jquery | [3, 5] |
5,650,834 | 5,650,835 | php in javascript | <p>The javascript works fine without the php part but it needs to redirect and keep the link information how to do this ??</p>
<pre><code><script>
if(navigator.userAgent.indexOf("Firefox") != -1)
{
window.location = "demo2.php?skin=<?php echo $_GET["skin"]; ?>";
}
</script>
</code></pre>
<p>works... | php javascript | [2, 3] |
1,939,590 | 1,939,591 | How to pass textbox value to Javascript variable? | <p>I need to pass a textbox value in asp.net to the javascript variable videoID and save it to the database.</p>
<p><strong>Here is my code</strong></p>
<pre><code><script>
var tag = document.createElement('script');
tag.src = "http://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagNa... | javascript asp.net | [3, 9] |
4,956,927 | 4,956,928 | Inline coding in ASP.NET page | <p>hi guys i am using this code in my aspx page </p>
<pre><code><%for (int i=o;i<5;i++)
{%>
<asp: link button id=i text=i/>
<%}%>
</code></pre>
<p>at it's producing five link buttons like </p>
<blockquote>
<p>i i i i i</p>
</blockquote>
<p>but i just want five link buttons like that</p>
... | c# asp.net | [0, 9] |
2,533,512 | 2,533,513 | What would be the right syntax in jQuery | <p>I have a jquery function which on submit event is generating an url.If one the parameter is not defined, adding to url should be skipped </p>
<pre><code> var category =$("#prod_category").val();
var group =$("#prod_group")
window.location.href = "/page/" +
... | javascript jquery | [3, 5] |
861,269 | 861,270 | Getting system's hardware information of a connected user to a PHP website ? Is it possible? | <p>I am posting this in order to confirm if it is possible for PHP to get a user's machine hardware information when connected to a website? </p>
<p>In my case I am developing an Intranet which requires one user - one machine login. Which means a user assigned to his/ her machine can only login, others cannot login fr... | java php | [1, 2] |
593,812 | 593,813 | how to add textbox in the mail body? | <p>I am using asp.net and C#.</p>
<p>I have a requirement in which i need to add one textbox in the mail body.
After the user registration, i need to send a welcome mail. i tried to add the input tag in the mail body, but i am able to see on [ ](two square brackets).</p>
<p>Can anyone tell me how to do this?</p>
| c# asp.net | [0, 9] |
3,541,176 | 3,541,177 | how to give confirm message box when selecting previous date in asp.net | <p>hello i have created one webpage in asp.net & in that webpage i am using Asp calendar control. I want to display message box whenever user selects the previous dates from that calendar control how can i do it please suggest me any solution.</p>
| c# javascript asp.net | [0, 3, 9] |
2,347,549 | 2,347,550 | How do I pass a searchstring to perform a search? | <p>again I'm stuck and asking you to help me.</p>
<p>I want to enter a search string in an input-field. The search string should perform a search like <a href="https://.../=~searchstring" rel="nofollow">https://.../=~searchstring</a></p>
<p>The textfield:</p>
<pre><code>$("<input id='field-inputSearchString'... | javascript jquery | [3, 5] |
3,995,354 | 3,995,355 | Python as a web scripting language? | <p>I've recently been developing with Python, and I absolutely love it. It's a <em>huge</em> step up from PHP as a quick scripting language (imagine, no crazy function names!), and I would love to be able to use it as a web development language.</p>
<p>I've heard about Django, but I want something a bit more simple.</... | php python | [2, 7] |
3,673,852 | 3,673,853 | JavaScript style wrapping in PHP | <p>I'm primarily a JS developer, using PHP for that server-side kick and I'm looking to see if there's an method in PHP similar to the JS:</p>
<pre><code>var something = {
action1: function() { alert('Fire 1!'); },
action2: function() { alert('Fire 2!'); },
action3: function() { alert('Fire 3!'); }
}
</cod... | php javascript | [2, 3] |
760,814 | 760,815 | StronglytypingException the value is DBnull but value in row is not null | <p>When I take look in quick watch regarding the dataset returned It shows stronglytypingException saying value is DBnull But the value is 1 in the row. It is taking all the values correctly except this one.</p>
<p>Also, The error is in the newly added column.
Have i done anything wrong?.
Thanks.</p>
| c# asp.net | [0, 9] |
4,026,225 | 4,026,226 | How to create the div, dynamically in asp.net | <p>I have some textbox and submit button.</p>
<p>When ever I click the submit button the div should be added dynamically in my aspx page.</p>
<p>Also the information which is available in the text box also displayed in the page default.</p>
<p>Use:Without using database i need to display the user suggestion in my pa... | c# asp.net | [0, 9] |
644,948 | 644,949 | javascript: Defining "this" in the context of a function | <p>When jQuery calls a function as an event handler for a raised event, jQuery is somehow able to define "this" in the context of a function that it calls. In the following example, jQuery define this as the dom element that was clicked on.</p>
<pre><code><input id="someButton" type="button" value="click me!"/>
... | javascript jquery | [3, 5] |
1,727,084 | 1,727,085 | jQuery dialog: external file load not working from button | <p>Could someone please tell me what is up with this code? I can't for the life of me see whats stopping it from working. If I set it to <code>autoOpen: true</code> it works, but getting it to open from the button does not seem to work! Many thanks in advance.</p>
<p><strong>Jquery:</strong></p>
<pre><code>$(document... | javascript jquery | [3, 5] |
4,677,330 | 4,677,331 | Compiling eAccelerator to decode PHP Coded Files | <p>By any chances is it possible to compile eAccelerator using OP Codes, to decompile the code loaded by eaccelerator_load(); and how? </p>
<p>I Use eAccelerator 0.9.5, PHP 4.4.4.</p>
| c# php c++ | [0, 2, 6] |
2,758,001 | 2,758,002 | ASP.Net C# gridview | <p>I have a gridview with a linkbutton inside a <code><HeaderTemplate></code>. There is an event handler for a click on this button. Now if I bind data to the gridview on every <code>Page_Load</code> event, then this event fires. But if I bind data to the gridview inside <code>if (Page.IsPostBack == false)</code>... | c# asp.net | [0, 9] |
4,340,717 | 4,340,718 | Programming Challenge using jQuery | <p>This is a follow up to a previous question which seems to have confused people so I'll purify it a bit. Here is some markup.</p>
<pre><code><div class="button width120 height30 iconLeft colorRed"></div>
<div class="button width180 height20 iconPlus colorBlue"></div>
<div class="button wid... | javascript jquery | [3, 5] |
3,433,754 | 3,433,755 | Get checkbox status as soon as it is checked or unchecked | <p>I want to get the current status of checkbox as soon as it is check or unchecked. Based on that show the Toast message. Here is my code so far.</p>
<pre><code>SharedPreferences getPrefs = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
boolean Alarm = getPrefs.getBoolean("cbAlarm", true);
i... | java android | [1, 4] |
831,273 | 831,274 | How to check if jQuery UI files have been included? | <p>I use a CMS on my website and have run into a problem. The CMS includes jQuery files on some pages, but not on all, and I need to be able to use jQuery everywhere. I found a solution for including the base jQuery library by using the following code:</p>
<pre><code>if(!window.jQuery)
{
document.write("<" + "... | javascript jquery | [3, 5] |
1,863,740 | 1,863,741 | How to email Rendered Report in diffrent formats like pdf,excel,word in Report Viewer in Local Mode and Modify Tool bar of Report Viewer | <p>I have an issue related with Report viewer control Version=10.0.0.0
i am showing SSRS Report(.rdl) file on report viewer in Local Mode.
I have following problems in Find Control of report viewer,</p>
<ol>
<li><p>When I search any text in rendered report and if text found but my report shift to upside and to click o... | c# asp.net | [0, 9] |
5,049,307 | 5,049,308 | label as dynamic navigation | <p>I Made label to had value from database and linked it . but the problem was it had only one value and i want it keep value when navigation thought site as.</p>
<p>x>y>z>....</p>
<p>this is my code</p>
<p><</p>
<p></p>
<p>if (Request.QueryString["Category_Id"] != null)
{</p>
<pre><code> Banar.... | c# asp.net | [0, 9] |
1,571,167 | 1,571,168 | Programmatically scroll an Android app using another app running in the background? | <p>I am creating an Android app and I am also planning and an iPhone version, so I am looking for the opinions of both Android and iPhone developers. The app I am creating runs in the background, i.e. it has no GUI, and checks if another app is running.</p>
<p>If the other app is running I want to take screenshots usi... | android iphone | [4, 8] |
4,746,594 | 4,746,595 | controls in asp.net repeater | <p>I have a repeater, which basically has a text box in it and I have implemented a paging function on the repeater, the repeater only shows 25 rows at a time. What I want to do is, get each text box for each row in the repeater, but at the moment I am only getting the text boxes that are shown on the repeater (the fir... | c# asp.net | [0, 9] |
86,207 | 86,208 | Passing values with session and adding to session one each page | <p>I need to store the values entered in <code>textBox's</code> and <code>dropdownList's radio buttons</code>.... My form is a multi paged form.
Im not sure what im doing but this is what im thinking.</p>
<p>I have a button that clicks to the next page. I have made a class with everyfield in the DB table i want to ins... | c# asp.net | [0, 9] |
5,760,956 | 5,760,957 | I created a function using fopen in php if i use it as a function it doesnt work if i use it alone it does | <p>Basically i created a some code that creates a file....
I can use that code and works perfectly in the IF statements in my code... now... because i have to use it twice... I decided to make it a function... but as soon as i make it a function it doesnt work...</p>
<p>anyone can tell me why??
I am just calling the ... | php jquery | [2, 5] |
20,911 | 20,912 | Difference between log methods | <p>I am new in android and i print log-cat using:</p>
<pre><code>Log.w("Tag", "String text");
</code></pre>
<p>and log text print but after searching for a time i find some more way to print logcat like:</p>
<pre><code>Log.v()
Log.d()
</code></pre>
<p>and now i am confuse in these methods.</p>
<p>Which is the bes... | java android | [1, 4] |
5,316,893 | 5,316,894 | setTimeout not recursively calling anonymous function | <p>I was asked to make a small div cycle a fade in and fade out effect. There are several ways to do this, but I am wondering why the following only runs the effect one time.</p>
<pre><code> $(document).ready(function() {
(function(){
setTimeout(function(){$("#foo").fadeOut().delay(800).fadeIn(800);},0)
... | javascript jquery | [3, 5] |
4,896,756 | 4,896,757 | jquery or js: replace a link site-wide with another AND change to https | <p>I want to change every instance of</p>
<pre><code>http[s]://www.mydomain.com/test/index.php?this_page=foo
</code></pre>
<p>to</p>
<pre><code>https://www.mydomain.com/test/index.php?this_page=bar
</code></pre>
<p>I think its must be able to be done with <code>attr.replace</code> but I can't figure out the notatio... | javascript jquery | [3, 5] |
3,817,808 | 3,817,809 | Capture clicking on a checkbox's title in jQuery | <p>I'd like to listen on the event of a user clicking on a checkbox's title (in addition to the checkbox itself). How can this be done?</p>
| javascript jquery | [3, 5] |
618,044 | 618,045 | Unfortunately HelloListView has stopped | <p>I've followed <a href="http://developer.android.com/resources/tutorials/views/hello-listview.html" rel="nofollow">this tutorial</a> but when I try to run the application I get <code>Unfortunately HelloListView has stopped</code>
The IDE gives no warnings or errors.</p>
<p>My HelloViewListActivity.java looks like th... | java android | [1, 4] |
5,116,975 | 5,116,976 | calling both base and derived methods | <p>in both C# and C++, is it possible to call both base and derived versions of a method with the same signature instead of overriding the base class version?</p>
| c# c++ | [0, 6] |
4,948,728 | 4,948,729 | Invoking super class implementation of the method after setting some attributes in the subclass | <p>I am making a baseactivity for an Android app. I need to set some attributes in the onCreate method in the subclass before calling the super class implementation of it which does the work. So is this bad practice? To set attributes in the subclass then call the super class implementation of the method where you set ... | java android | [1, 4] |
4,186,259 | 4,186,260 | Jquery- Find the element has given style property | <p>i have a html table </p>
<pre><code> <table class="mytable">
<tr>
<td>
test value
</td>
<tr>
</table>
</code></pre>
<p>on loading the page dynamically adding a td </p>
<pre><code> $(".mytable tr:first").append("<t... | javascript jquery | [3, 5] |
3,129,988 | 3,129,989 | Simple Modal not working in IE 9 | <p>Below is URL of the page which works fine in Firefox, chrome, Safari but for some reason it is not working in IE 9.</p>
<p>Modal shows a banner when page loads.</p>
<p><a href="http://tinyurl.com/b52drmt" rel="nofollow">http://tinyurl.com/b52drmt</a></p>
<p>link for modal i am using <a href="http://www.ericmmarti... | javascript jquery | [3, 5] |
1,743,366 | 1,743,367 | How to pass javascript variable value to java class | <p>I want to submit data from a html page to java class. I am using javascript to get data from html page, now I want to send this data to java class to save this data to db. I am using ftl template to generate html so I cant use jsp here. Please give an example using either javascript of ajax or jquery.</p>
<p>thanks... | java javascript | [1, 3] |
701,147 | 701,148 | why does loading jquery after mootools causes conflicts | <p>I was wondering what is the reason for the conflict when jquery is loaded after mootools.
Anyone has a nice explaination since the web gives me shady answers.
Thanks</p>
| javascript jquery | [3, 5] |
3,996,122 | 3,996,123 | JS slideshow "nextPhoto"/"prevPhoto" not working | <p>I'm working on a JavaScript slideshow someone else originally built, and I seem to have busted it. The "previous" and "next" buttons don't work - they don't do anything, actually. </p>
<p>Using the HTML Validator plugin for Firefox when I load the page, I get an error message: "Undefined variable: random_photo in [... | php javascript | [2, 3] |
5,864,451 | 5,864,452 | Error bind click on jquery check value empty | <pre><code><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#btnSubmit').bind('click', function(){
var option = $('#option1').val();
if(option == ''){
alert('Answer ... | php jquery | [2, 5] |
3,350,958 | 3,350,959 | Select 2nd and 3rd element from each triplet of elements | <p>I have set of 6 elements and I would like to filter by every second and third element so I want to have elements 2, 3, 5 and 6. I've tried <code>.filter(':nth-child(2n+1)'));</code> but obviously that filters the 2, 4, and 6.</p>
<p>The other way I was trying was to remove elements 1 and 4, but I couldn't find a jQ... | javascript jquery | [3, 5] |
3,056,935 | 3,056,936 | Check from where an ASP.Net page in my application was opened? | <p>Searched everywhere but couldn't find anything.</p>
<p>My question is: is it possible to programmatically determine the address of the site from where a page in my ASP.Net application was opened (either from client code or server code)? </p>
<p>Suppose i have a big job board application, some of the jobs are liste... | javascript asp.net | [3, 9] |
453,094 | 453,095 | Miltitasking and Progress Bar | <p>Does Android have multitasking functionality? If yes, then how can we use it to enable a progress bar?</p>
| java android | [1, 4] |
4,027,374 | 4,027,375 | JavaScript to java, difference in Array Creation | <p>-In JavaScript you can use a generic value type <code>var</code></p>
<p>-In Java you must use explicit value types <code>double</code>, <code>int</code>, <code>String</code> etc</p>
<p>-In JavaScript the Array can have also heterogeneous values.</p>
<p>-In Java an array can have only values of the same kind,(for ... | java javascript | [1, 3] |
3,891,811 | 3,891,812 | Build common interface for two applications(one is in .asp, other in java) | <p>We have two applications. One application in .asp and second application in java.
we want to build interface for universal authentication, so that one can access the other application once signed into one application.
Both applications are using SQL database, but one is written in .ASP
hosted on Windows server while... | java asp.net | [1, 9] |
5,581,624 | 5,581,625 | Why I Can not display "person name :"? | <pre><code><p id="display1"></p>
<p id="display2"></p>
var person1= {
name: 'John Smith',
hobbies: ['surfing', 'diving']
};
$("#display1").append( "<br/>" + "person name :" + person1.name + "<br/>");
var person2= clone(person1);
$("#display2").append( "<br/>" + "... | javascript jquery | [3, 5] |
2,437,381 | 2,437,382 | stopPropagation() but keep other click events active | <p>I have some jQuery code to close my menu:</p>
<pre><code>$('body').click(function(){
$('#menu').hide();
});
$("#menu").click(function(e) {
e.stopPropagation();
return false;
});
</code></pre>
<p>However on my #menu element I have some elements that have click events attached to them:</p>
<pre><code>$... | javascript jquery | [3, 5] |
5,902,633 | 5,902,634 | using isNaN to evaluate input | <p>I am using isNaN to evaluate input in text box my function is like this</p>
<pre><code>function IsNumeric(n) {
return !isNaN(n);
}
</code></pre>
<p>it's working fine with numeric but not on negative values nor decimal values like 1.2,</p>
<p>but I will not accept negative or decimal values like 1.2</p>
<p>h... | javascript jquery | [3, 5] |
1,971,098 | 1,971,099 | Is there is any way to scrape the dynamic content using php or java | <p>I need to scrape some details from a website. It loads certain details in Ajax after a button click. Is it is possible to scrape the details from this <a href="http://www.guruji.com/music/3%20idiots/" rel="nofollow">link</a>?</p>
<p>It loads the details when the <code>+</code> button is pressed.</p>
| java php | [1, 2] |
860,131 | 860,132 | onclick event is not working inside echo | <pre><code>echo '<a onclick="alert(\'alert\');"><img src= "1.jpeg"></a>';
</code></pre>
<p>It is working fine, But</p>
<pre><code>echo '<a onclick="do();"><img src= "1.jpeg"></a>';
</code></pre>
<p>Its not working if i put that alert inside do() like</p>
<pre><code><script typ... | php javascript | [2, 3] |
792,866 | 792,867 | How to get the id of next tr in table using jquery? | <pre><code><table>
<tr id ="tr_id_1">
<td >
Blah
</td
<td>
Blah
</td>
</tr>
<tr id ="tr_id_2">
<td>
Blah
</td>
<td>
Blah
</td>
</tr>
</table>
</code></pre>
<p>i have got the id ... | javascript jquery | [3, 5] |
4,126,130 | 4,126,131 | Simple Droid App force closes when switching activities | <p>I new to app development and I have been working on a Flash card app. There is a main screen and the user chooses a button. On the emulator when I touch a button to go to a new activity, my app force closes.
I have added the activity in the manifest.
The second activity has its own layout (main2.xml).
My buttons lo... | java android | [1, 4] |
5,664,532 | 5,664,533 | Why all the images in a slider first linup for 1-2 secs before they adjust in a proper position? | <p>if you open this page <a href="http://www.expertforyou.com/" rel="nofollow">http://www.expertforyou.com/</a></p>
<p>All the images are like vertical for a second or two, before they line up. Depending on internet speed, it could be a few seconds.</p>
<p>How can we remove this?</p>
| php jquery | [2, 5] |
1,524,348 | 1,524,349 | Why jquery class selector select items that has part of the classname? | <p>if i have :</p>
<pre><code><div class="carBig"></div>
</code></pre>
<p>and</p>
<pre><code><div class="car"></div>
</code></pre>
<p>and $(".car").size();</p>
<p>i get 2 items ..</p>
| javascript jquery | [3, 5] |
2,245,916 | 2,245,917 | How do i reload same page using window.location in jQuery? | <p>I have a JQuery Function </p>
<pre><code>(function ($) {
jQuery.fn.saveUser = function(destinationUrl) {
this.click(function() {
var formData = 'option=saveuser&'+$('form#save-user').serialize();
$.ajax({
type: 'POST',
url: 'process.php',
data: formData,
... | php jquery | [2, 5] |
796,124 | 796,125 | gmap3 clear marker not working in chrome | <p>Please help resolve this issue.</p>
<p>the clear marker is working in FF & IE but not chrome?</p>
<pre><code> function addMarker(lati, longi, id, name) {
$('#dispatcher').gmap3(
{ action: 'addMarker',
lat: lati,
lng: longi,
tag: name,
options: {
icon: ne... | javascript jquery | [3, 5] |
1,878,703 | 1,878,704 | Why is my exception handling code not handling exceptions? | <p>I have some C# code that pulls down a remote website using the HttpWebRequest class. I'm handling errors with a try/catch, but some errors (like Webrequest and IOException) don't seem to be getting "caught" with the way I have it setup:</p>
<pre><code>try
{
StartScrap("http://www.domain.com");
}
catch (Excepti... | c# asp.net | [0, 9] |
1,281,191 | 1,281,192 | How to get the values from Dictionary type SESSION Variable in C# | <p>I am using C#.</p>
<p>I have got below format values in my <strong>SESSION variable ["FROMDATA"]</strong>, I am using <strong>DICTIONARY</strong> to store the FORM Posted Data. Please see the related <a href="http://stackoverflow.com/questions/4723240/how-to-store-all-the-form-posted-data-in-asp-net-dictionary">que... | c# asp.net | [0, 9] |
2,619,785 | 2,619,786 | jQuery dynamic changing image header | <p>Iam trying to write a simple jQuery function to change the image header of my webpage.</p>
<p>The HTML looks like this:</p>
<pre><code><div class="slider">
<ul>
<li> <img src="img/slide21.png" alt=""> </li>
<li> <img src="img/slide31.png" alt=""> </li>
</code></pre>... | javascript jquery | [3, 5] |
1,883,739 | 1,883,740 | Remove whitespace after disabled control in asp.net | <p>I have small page, it looks follows:</p>
<p>Some header</p>
<p>Label with text only for logged users</p>
<p>Hyperlink</p>
<p>Logout button</p>
<p>Here is the behind code:</p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
if (User.Identity.Name == "")
{
Label1.Visible = false... | c# asp.net | [0, 9] |
5,574,743 | 5,574,744 | jquery 1.6.2 vanishing 1.9.1 function and vice versa | <p>I am facing this problem and just doing my work by switching either of them.</p>
<p>Actually my basic template has been coded in jquery 1.6.2 and now i am using some other jquery function which is based on 1.9.1 library the function gos like this :</p>
<pre><code> <script src="http://code.jquery.com/jquery-1.9.... | javascript jquery | [3, 5] |
101,637 | 101,638 | If I start a thread in the application startup process, will it keep running? | <p>If I start a thread in the Application_Startup event of my web application in ASP .NET and it contains an infinite loop doing some background work using sleep methods too, will it continue running forever, assuming no exceptions occur?</p>
| c# asp.net | [0, 9] |
4,908,983 | 4,908,984 | download file to a specific location with Response.BinaryWrite and Server.Mappath possible? | <p>I have varbinary data associated with a file in the DB. This is the code I'm using to download this file on clicking a link -</p>
<pre><code>//a is my attachment object
var r = context.Response;
r.AddHeader("Content-Disposition", "attachment; filename=" + a.FileName);
r.Charset = "";
r.ContentType = a.MIME;
r.Bi... | c# asp.net | [0, 9] |
225,000 | 225,001 | What does from = mean inside a javascript function? | <p>I have the following call:</p>
<pre><code> $.extend($.fn.dataTableExt.oSort, {
"datetime-uk-pre": function (a) {
from = a.split(' ');
var ukDatea = from[0].split('/');
var ukTimea = from[1].split(':');
return (ukDatea[2] + ukDatea[1] + ukDatea[0] + ukTimea[1] ... | javascript jquery | [3, 5] |
2,255,541 | 2,255,542 | event handler for input delete/undo | <p>I need to check for all events which will change the contents of my text input. so far I have handlers for keyup, cut and paste. but the content can also be changed by highlighting the text and clicking delete or undo. is there a way to listen for these events?</p>
<pre><code>$('#input').on('paste cut keyup ',func... | javascript jquery | [3, 5] |
2,351,300 | 2,351,301 | How to capture exact td value in jquery independent of browser | <p>I have li inside it i contain td. </p>
<pre><code> var values = '';
$("#list4 li.add table .mytd").each(function () {
values = $(this).html() + '|' + values;
});
document.getElementById("MainContent_uscRetailParameters_hdRetailCustomerGroup").value = values;
... | c# javascript jquery asp.net | [0, 3, 5, 9] |
3,024,621 | 3,024,622 | The application has failed to start because its side-by-side configuration is incorrect | <p>On one server, everything works.
I am attempting to call a C++ assembly from C#/ASP.NET application.</p>
<p>When I deploy the web application in another server, it fails with the error message:
"The application has failed to start because its side-by-side configuration is incorrect"</p>
<p>I have copied the dll in... | c# asp.net c++ | [0, 9, 6] |
898,953 | 898,954 | How to read files in a concurrency safe manner in an asp.net webpage? | <p>I need an asp.net webpage to read some text from a file stored on the same server as the webpage, will the following code result in a concurrency error if several people visit the webpage at once and thus several requests to read the file are generated:</p>
<pre><code>string fileText = System.IO.File.ReadAllText(Re... | asp.net c# | [9, 0] |
2,855,663 | 2,855,664 | Is Dirty in ASP.NET Web Page | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/155739/detecting-unsaved-changes-using-javascript">Detecting Unsaved Changes using JavaScript</a> </p>
</blockquote>
<p>My Web application has 3 web forms ,I implemented the validations in my webpage.I want to i... | c# asp.net | [0, 9] |
5,749,142 | 5,749,143 | Waiting screen while response is awaited | <p>I have a one iframe in which one webservice has opened .A forms is in that web service.After submitting that form my iframe will close.But before closing iframe I want some waiting screen till the form data is submitted at web service and receieved some response from there(like please wait while your operaion is pro... | asp.net jquery | [9, 5] |
1,516,724 | 1,516,725 | Draw image using mouse | <p>I need to create a web page where i can draw a image using mouse (similar to paint).is it possible in c# ,asp.net or silver light please help</p>
| c# asp.net | [0, 9] |
4,735,259 | 4,735,260 | Add image smilies in textbox | <p>Hello i want to add smilies in form of images to the text box in php or javascript. I want it like whats app or facebook. I dont have much idea of javascript or php. So somebody please help me with the code . I want it in a manner as i click on the image it shoulg get inserted in the text field or text area . Thanks... | php javascript | [2, 3] |
2,965,876 | 2,965,877 | Pause animation when mousemove event occurs | <p>I have the following code:</p>
<pre><code>$(source)
.on('mouseenter', start)
.on('mouseleave', stop)
.on('mousemove', zoom.move);
</code></pre>
<p>Here I attach few mouse event listeners. When 'mouseenter' event occurs, the following function is executed:</p>
<pre><code> automove: function myAutomove() {
... | javascript jquery | [3, 5] |
3,561,352 | 3,561,353 | How to set a Javascript-HTML variable from a Android code | <p>I am trying to set the value of a global variable from Android code.</p>
<pre><code> mWebView.loadUrl("javascript:(function() { " +
"loginID = '"+nicu_app.urlSelected+"'; " +
"})()");
</code></pre>
<p>but when I load the webpage in a webview and che... | javascript android | [3, 4] |
774,486 | 774,487 | javascript not working after php include | <p>I am trying to apply javascript twice to a simple html textarea. I have onfocus and autogrow (which is actually jquery). It seems i can only get one or the other to work but never both at once. </p>
<p>My script has an: </p>
<pre><code><?php
include 'header.php';
?>
</code></pre>
<p>This seems to be the ... | php jquery | [2, 5] |
1,927,262 | 1,927,263 | Converting toggleClass('hidden') to .toggle() with animation | <p>My first implementation of my personal learning project of dynamically generated webpages and JQuery project utilized checkboxes and toggle("slow") and toggle("fast"). However, being new to CS altogether, managing the state of checkboxes got q bit complex for my first project. So I switched solely to <code><lab... | javascript jquery | [3, 5] |
2,115,841 | 2,115,842 | Use ASP.NET in a way similar to PHP | <p>I have been using PHP for a long time, but I want to move to C#. However, I don't care much for web controls and the template system. Don't get me wrong, it is good for many projects, but not all. Sometimes I want to use my own template system </p>
<p>I just want to run my code on every page request and print some ... | c# asp.net | [0, 9] |
4,886,974 | 4,886,975 | Browse pictures on Android and move them to specific directory | <p>So I'm building an android application, I want the users to be able to press a button that opens a window/activity. I need the activity to allow the user to browse the pictures saved on the phone and be able to select those that they want. Once they select the pictures and press "ok" the pictures need to be copied t... | java android | [1, 4] |
5,534,598 | 5,534,599 | Handling threads in Android | <p>I have an application which has some background processes, like downloading an XML from a server and parsing it, and I am performing these tasks in Threads.</p>
<p>The problem comes when sometimes a thread does not get CPU time for long time, it could be anytime between 15 minutes to some hours, and then the thread... | java android | [1, 4] |
2,811,944 | 2,811,945 | Notify when GPS activated | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/11446428/broadcast-reciever-for-gps-state">Broadcast reciever for GPS state?</a> </p>
</blockquote>
<p>Is there a listener that can notify me when GPS is activated?
(When user enabled "GPS" button from the notif... | java android | [1, 4] |
1,610,001 | 1,610,002 | get <cite> tag value Onmousedown event | <p>HTML code looks like:</p>
<pre><code><ul>
<li class="result">
<h3 class="title"><a class="someclass" href="url">Sometext</h3>
<cite class="url">Cite URL-1</cite>
</li>
<li class="result">
<h3 class="title"><a class="someclass" href="url-1"&g... | javascript jquery | [3, 5] |
3,087,900 | 3,087,901 | Scrolling div within bounds | <p>I have div with images inside it and need to scroll it left and right. I,ve managed to get the scrolling to work, but now I need it to stay in the displayable area.
I need to use jQuery</p>
<pre><code>$('#next').click(function() {
$('#slides').animate({left: '-=80',}, 2000, function() {});
});
$('#prev').click(fun... | javascript jquery | [3, 5] |
2,684,074 | 2,684,075 | Want to show Busy Loading message with percentage download when form will load using JQuery | <p>suppose my page content is huge so in my asp.net application i want to show busy icon with percentage downloading the content in client side. i saw many flash and sliver light site that they show busy icon and also they show percentage that means how much content has been loading in client machine. how could i achie... | asp.net jquery | [9, 5] |
4,716,426 | 4,716,427 | Loop through all the user controls on a page | <p>Want to loop through all the user controls that exist on the page and get their IDs. How do I do it?</p>
| c# asp.net | [0, 9] |
1,294,214 | 1,294,215 | setInterval won't get out of loop | <p>The following javascript code takes randomly selected value from a array and types it in the input box. I've used jquery. I want to end setInterval "zaman2", so after It ends I can retype the next random string to the input box. But the loop doesn't end and gets stuck. How can I solve this?
Link to jsFiddle: <a href... | javascript jquery | [3, 5] |
3,448,716 | 3,448,717 | I am having ArrayList containing String[], If i add new string[] into list, it also modifed previously added string [] objects | <p>I am adding string[] into Arraylist, But when i try to retrieve value from it, something wrong happening. and previous values of arraylist getting updated with new entry(String[])
Expected Output :<br>
first , sec<br>
1, 2<br>
one, two</p>
<p>Current Output :<br>
one, two<br>
one, two
one, two</p>
<p>below is the... | java android | [1, 4] |
3,329,275 | 3,329,276 | how to select a particular field using a jquery | <p>my code is</p>
<pre><code><div id="fields">
<form id="question-form"> <input type="hidden" name="question-main" value="<?php echo mysql_prep($_GET['ques']);?>" /></form>
<a class="vote-up-off">up vote</a>
<span class="vote-count-post"><?php echo $row["upvotes"]+... | php jquery | [2, 5] |
1,436,968 | 1,436,969 | Add value to textarea in child window | <p>I have a remote url that is opening with window.open(url), in that page there is a textarea, i want to change the value of that textarea from my parent page.</p>
<pre><code>window.open("http://facebook.com/share.php?u=
http://something.com&t="+txt,'facebook','height=400,width=550');
$("textare... | php jquery | [2, 5] |
5,909,816 | 5,909,817 | How to do something when control is appear in document? | <p>How it possible by javascript? I could't find event like:</p>
<pre><code>$(.check-icon).on('loaded', function(){...});
</code></pre>
| javascript jquery asp.net | [3, 5, 9] |
471,271 | 471,272 | jQuery functions don't work on the elements created 'on the fly' | <p>I created some elements on the fly by JavaScript like this:</p>
<pre><code>tmpString += '<a class="small_text add" id="' + variable_id + '_add" href="#" > add </a>';
$('#mydiv').html(tmpString);
</code></pre>
<h3>Problem</h3>
<p>jQuery functions don't work on these 'on the fly' elements, <strong>but</... | javascript jquery | [3, 5] |
1,746,348 | 1,746,349 | jquery How do I add a class to span within a dl based on the text it contains? | <p>I want to be able to add the class="st_sharethis" to the menu link: Tell A Friend on this site <a href="http://www.easyspacedesign.com/fh/ConnectBell_/" rel="nofollow">http://www.easyspacedesign.com/fh/ConnectBell_/</a>. There is no way to add a specific class or id to a menu link in the cms we use so going to have ... | javascript jquery | [3, 5] |
3,837,445 | 3,837,446 | state of listbox not saved | <p>I have wizard control and on second page I have ListBox. Since I have disabled viewstate, I am rebinding data source of ListBox on each button click (prev /next).</p>
<p>I can not use Request.Form to get selected values since user can come from first page. </p>
<p>I am hoping that even if I set viewstate disabled,... | c# asp.net | [0, 9] |
201,516 | 201,517 | Detect Arabic language using Javascript? | <p>How to detect Arabic language when typed in a Textbox using a Javascript??
Is there any way to do this.</p>
<p>I want to do a system where the system automatically detects the Arabic Language written in the textbox of the Webpage.</p>
| javascript asp.net | [3, 9] |
4,938,470 | 4,938,471 | jQuery prepending and fading in content does not work | <p>So I have an ajax form submission system, and I want to prepend the submitted form directly into the HTML when a successful status response is given. Right now I have,</p>
<pre><code>$(".post-submit").click(function(){
var postcontent = $(".post-form").val();
if (postcontent == ""){
return false;
... | javascript jquery | [3, 5] |
206,629 | 206,630 | focus problem in mozilla | <p>In my application I am using a text box with onBlur property assigned to a function i cant focus by telling the id in Mozilla the code is as follows </p>
<blockquote>
<p><code><asp:TextBox ID="txtPassword" AutoCompleteType="Disabled" autocomplete="off" runat="server" MaxLength="25" Width="350px" TextMode="Pass... | javascript asp.net | [3, 9] |
615,693 | 615,694 | Confirmation message box in webapplication | <p>Am using the below message box in asp.net web application. Now i want to convert this message box as a confirmation message box and do something when it is true else means reject the application.</p>
<pre><code> ScriptManager.RegisterStartupScript(this, this.GetType(), "temp", "<script language='javascript'>... | c# asp.net | [0, 9] |
1,741,036 | 1,741,037 | Save private data to public location | <p>I am trying to open my PDF file with PDF Reader, I am searching more on how can i done this, a lot of answer found but every answer tells that save that file to "SD Card".</p>
<p>Saving file to SD Card is good idea but the problem is if user not installed SD Card in his phone. At present time many phone have large ... | java android | [1, 4] |
5,714,929 | 5,714,930 | ReferenceError: Can't find variable error | <p>I have this code:</p>
<pre><code>$(document).ready(function(){
var callPage = function(){
$.post('/pageToCall.php');
};
setInterval('callPage()', 60000);
});
</code></pre>
<p>and it gives me the error <code>ReferenceError: Can't find variable: callPage</code>. Why?</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.