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,389,168 | 2,389,169 | "This" outside of each scope (JQuery) | <p><strong>I'm trying to get rid of that nasty variable declaration of ref in this instance</strong>, I'm sure there is a way to get out of the each scope to get the "this" of the on-call. I just have no idea how to.</p>
<pre><code>$(document).on('click', '.item', function(){
var ref = $(this).attr('data-id');
... | javascript jquery | [3, 5] |
4,342,412 | 4,342,413 | a place for network connection checking | <p>I've got a simple hiearachy of activities where: A is abstract and B,C, etc inherit from A.
I need a place to handle network connection and it would be good to place it in the parent activity(A). However, I don't see how I can stop code in my child activities(B,C) from executing. Additionally, in each of the onResum... | java android | [1, 4] |
4,566,746 | 4,566,747 | DB Operations in asp.net with c# | <p>I have a question from an interviewer:</p>
<p>If two users open the same page, one person adding 105 record and another person deleting the same record, what happens in this scenario?</p>
<p>How do I answer this?</p>
| c# asp.net | [0, 9] |
3,734,918 | 3,734,919 | On Selected, take a value from G.V and redirect user on another page and get the value .Execute code only if is redirected from page1 | <p>I have a simple gridview and sqldatasource to bind data to gridview.</p>
<ul>
<li>My goal is to make in the gridview when the user is selecting a row ,
to take a value from a column for the current editing row , then
redirect him to the other page and there to work with the value taken
from the main page.</li>
</ul... | c# asp.net | [0, 9] |
4,106,898 | 4,106,899 | Using Java in Android app to copy code, update name and create new class | <p>I have a java class with a specific function. It allows the user to save a cars setup. I need to create a button that allows them to create as many of these using the existing code and layout over and over and over and be able to separate them by which track they are on, which type of race they are participating in ... | java android | [1, 4] |
3,040,696 | 3,040,697 | jQuery events not firing | <p>I'm creating a simple jQuery editor, nothing complicated, and just can't seem to find out why the events do not work. See code below.</p>
<pre><code>var $editor = $('<div>').addClass('editor')
.insertBefore(this.$element)
.append(this.$element);
var $b = $('<div>').addClass('button-wrapper'... | javascript jquery | [3, 5] |
3,306,355 | 3,306,356 | getting intellisense to show properties in markup for a custom server control | <p>I have a custom control that inherits from <strong>UserControl</strong>, and I can't get it's properties to show in intellisense. For example, I have a property:</p>
<pre><code>public string Title;
</code></pre>
<p>but if I start typing:</p>
<pre><code>ff:myControl Tit...
</code></pre>
<p>Nothing shows up (like... | c# asp.net | [0, 9] |
3,428,174 | 3,428,175 | Adding event clicks to POIs in Android Augmented Reality framework? | <p>I'm developing an application based on Android AR framework : <a href="http://code.google.com/p/android-augment-reality-framework" rel="nofollow">http://code.google.com/p/android-augment-reality-framework</a></p>
<p>Can anyone please suggest how to add click to the POIs or icons in camera view to view address of th... | java android | [1, 4] |
1,169,435 | 1,169,436 | looking for tool to convert unescape string to escapted string | <p>Hello
i just wander where can i find a tool that takes in my case java script string that is<br>
unescape and converting it to escaped string so i could use it as string value in c++ </p>
<p>for example characters like " i need to convert it to \"<br>
i need something smart and not just replace all function . </p>... | javascript c++ | [3, 6] |
772,362 | 772,363 | Pass list of strings from Javascript to asp.net code-behind | <p>I have problems with javascript in ASP.NET.<br>
I modify a listBox, with add and remove command using javascript.<br>
Now I have to use the data of the list in the code behind. How can I pass this data to the server? Can I use json?</p>
<p>Here is the code. I can't use hiddenField because of the remove.</p>
<pre>... | javascript asp.net | [3, 9] |
4,642,387 | 4,642,388 | Problem in calling the mask function on jquery? | <p>My Question is how I'll be to call the jquery function.. Please Check my codes if there's some adjustment..</p>
<p>jquery</p>
<pre><code>jQuery(function($){
$("txtPhone").mask("(999) 999-9999");
});
</code></pre>
<p>asp.net</p>
<pre><code><script src="insurance.js" type="text/javascript"> </script&... | jquery asp.net | [5, 9] |
4,679,883 | 4,679,884 | call an external javascript function from python | <p>I have a javascript function that I can call with input and that returns a result.
I can integrate this javascript function into an html-document (of course).</p>
<p>Now I would like to call exactly this javascript function from python. I have a python programm and want to call the javascript function with input pa... | javascript python | [3, 7] |
4,319,019 | 4,319,020 | Javascript ' on.("load", ' not working | <pre><code>jQuery(document).ready(function() {
jQuery('#submit').click(function() { jQuery("#LoadingImage").show();
jQuery('#imgRESULT').html('<img id="image1" src="http://johndoe.com/foo.php?username1=' + jQuery('input[name=username1]').val() + '&amp;username2='+ jQuery('input[name=username2]').v... | javascript jquery | [3, 5] |
690,197 | 690,198 | javascript setInterval function not working | <p>I want to call a function for every half minute. i am using the following code. The function is not getting triggered.</p>
<p>Code:</p>
<pre><code>window.setInterval('progress()', 10000);
</code></pre>
<p>Geetha.</p>
| c# asp.net javascript | [0, 9, 3] |
993,960 | 993,961 | why jquery detach element will cause a form to submit? | <p>i wonder why in the following example, trying to <code>detach</code> an element (<code>li</code>) causes the <code>form</code> containing it to <code>submit</code></p>
<p><strong>html</strong></p>
<pre><code><form id="frmToDo" name="frmToDo">
<p id="lineInput">
...
<input type="submit" id=... | javascript jquery | [3, 5] |
3,713,447 | 3,713,448 | How do i get these values to save? | <p>I need the inserted values in this edittext to show up after i quit the application. I currently have it set up so it'll set new default values if this is the first time for a user to set up the settings page but i can't get the set values to save and load the same values. Here is my code.</p>
<pre><code> ... | java android | [1, 4] |
4,727,340 | 4,727,341 | asp:ImageButton is not firing in an asp.net UpdatePanel? | <p>I have an asp:ImageButton that is supposed to popup a save dialog when clicked. When I put it outside the UpdatePanel, it works fine, but when I put it inside the UpdatePanel, the dialog does not popup.</p>
| c# asp.net | [0, 9] |
4,109,623 | 4,109,624 | basic jquery looping question around 'click' | <p>Basic question, but I have been pounding my head for a bit so thought id bring it here. </p>
<p>html looks like this (edit, fixed the closing quotes) </p>
<pre><code><span class='deleteimage-119'>delete</span>
<span class='deleteimage-120'>delete</span>
<span class='deleteimage-121'>d... | javascript jquery | [3, 5] |
4,580,893 | 4,580,894 | 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] |
290,089 | 290,090 | Autopostback in c# code while keeping several textboxes and dropdownlists values | <p>I have several <code>textboxes</code>and <code>dropdownlists</code> on my form. When a user submits the form, I want to keep several of these values on the form but I also want to make them invisible for several seconds after the form submits, so the user knows the form has been submitted. I am pretty sure you need ... | c# asp.net | [0, 9] |
4,101,806 | 4,101,807 | selecting div that contains div with a certain value | <p>I have several outer divs, all of them contain 3 inner divs <code>class1</code> <code>class2</code> <code>class3</code>. I want to select the outer div based on the value attribute of its inner div that has <code>class1</code>. For example, I want to select the first div because its <code>class1</code> div has value... | javascript jquery | [3, 5] |
3,130,300 | 3,130,301 | How can I get the difference between 2 dates in days, hours and minutes | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1968167/difference-between-dates-in-javascript">Difference between dates in JavaScript</a> </p>
</blockquote>
<p>How can I get the difference between 2 dates in hours, minutes and seconds? This is my code which ... | javascript jquery | [3, 5] |
4,728,809 | 4,728,810 | selecting classes using wildcard not exact class name | <p>I have several classes that I want to select .group1-1 .group1-2 .group1-3, each one of these has 50 elements under it. </p>
<p>Is there a way to select all classes that start with group1 (so I end up selecting group1-1, group1-2, group1-3), something like <code>$(".group1"+*)</code></p>
| javascript jquery | [3, 5] |
2,327,480 | 2,327,481 | Access a javascript function value within PHP? | <p>Can I access the value of a javascript function from outside the function
like if I had a function</p>
<pre><code><script>
function test_tree(opt)
{
val = opt;
}
</script>
</code></pre>
<p>Can I access the <code>val</code> value from outside the <code>test_tree</code> function or is there a way to... | php javascript | [2, 3] |
3,849,200 | 3,849,201 | converting function to jquery click() call | <p>Here is the code that I'm trying to convert:</p>
<pre><code><script>
function fsomething(rowid) {
window.location = "/somewhere/" + rowid;
}
</script>
<tr>
<td>
<button onClick="fsomething('{{rowid}}')">row 1L</button>
</td>
<td>
<button onCli... | javascript jquery | [3, 5] |
2,869,369 | 2,869,370 | how to make a string keep straight? | <pre><code> Button hoursButton = (Button) findViewById(R.id.hours);
final AlertDialog.Builder openinghours = new AlertDialog.Builder(this);
hoursButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
openinghours.setTitle("Opening Hours");... | java android | [1, 4] |
2,039,616 | 2,039,617 | How to open pop up window from a model popup? | <pre><code>window.open
</code></pre>
<p>above method doesn't work when i call it from model pop up.Is there any alternate to open a popup window over model pop up? Thanks in advace.</p>
| javascript jquery | [3, 5] |
3,765,347 | 3,765,348 | jQuery textarea word count on form submit | <p>I have been looking around for a function that counts the number of words in a textarea when I click the form submit button.</p>
<p>I am trying to display a message to the user that if they click submit and have only entered 50 or less words. This will be a confirm message basically saying "You have entered less th... | javascript jquery | [3, 5] |
5,171,409 | 5,171,410 | How to build jQuery remove | <p>I have some like that.</p>
<pre><code><script src="http://code.jquery.com/jquery-latest.js"></script>
<table>
<tr title="test" id="ex1">
<td><div class="move">Hello</div></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<... | php javascript jquery | [2, 3, 5] |
1,989,077 | 1,989,078 | Generic Type Detection | <p>What's the equivalent of the following in C#?</p>
<pre><code>template<class T>
struct S
{
typedef T MyType;
};
</code></pre>
| c# c++ | [0, 6] |
985,081 | 985,082 | Modalpopupextender gets hide for some time once checkchanged event fires? | <p>I have used ModalpopupExtender control in my web page. I have checkbox for selectall option with checkchanged event with checkboxlist control(With list of options). Whenever i check selectall option then all rest of the options gets selected & modalpopup window gets invisible for little time & again it comes... | c# asp.net | [0, 9] |
2,644,308 | 2,644,309 | trailing comma problem, javascript | <p>I'm currently trying hard to get my jQuery to work in IE7, when I Lint the following:</p>
<pre><code>$(".regflow").validate({
errorLabelContainer: $("#error-message"),
rules: {
txtTextOnly: {required: true,textOnly: true},
txtNumbersOnly: {required: true,numbersOnly: true},
txtPhoneO... | javascript jquery | [3, 5] |
3,049,587 | 3,049,588 | Postback problem on a submit button ! | <p>I have a page that has 4 tables. Initially when the page is loaded, it shows 1 & 2. Thats working fine. On Post back(When Submit is clicked), it should show 3 &4. Even thats working fine(code shown here). When the submit is clicked again, it has to call updatePaymentInfo() and redirect.. Is there something t... | c# asp.net | [0, 9] |
1,046,307 | 1,046,308 | 0 is null or not an object error | <p>Am using the following javascript programm for convert pdf file to binary file .It will work properly in FireFox.but in IE it will display the "0 is null or not an object javascript" .how to solve this? </p>
<pre><code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/... | javascript asp.net | [3, 9] |
248,608 | 248,609 | Delete cache for a single tooltip on click event | <p>I am using the <a href="http://www.lullabot.com/files/bt/bt-latest/DEMO/index.html" rel="nofollow">BeautyTips plugin</a> for tooltips on my website.</p>
<p>I am caching all ajax content that goes into my tooltips. What I want to do is delete a cache for a single element after a click action.</p>
<p>So:</p>
<pre><... | javascript jquery | [3, 5] |
5,768,154 | 5,768,155 | Setting a jQuery slider maximum value to unlimited? | <p>Can you set a jQuery slider to have a maximum value of 10,000 - but then if moved at all to the left it scales as though it was a slider of between 1-50 (if they move it to the right it returns to the very high value).</p>
<p>So it would be something like:</p>
<p>min: 0,
max: 50,
secondmax: 10000, (<- this is... | javascript jquery | [3, 5] |
3,299,665 | 3,299,666 | Passing get parameter from javascript to php destroys formatting | <p>I format text with javascript asigning <code>+</code> to every emtpy space like this</p>
<pre><code>var ft = text.replace(/ /g,"+");
</code></pre>
<p>Then I pass <code>ft</code> to a php script via jquery ajax as an get argument.</p>
<p>But</p>
<pre><code>print $_GET['text'];
</code></pre>
<p>gives me the text ... | php javascript | [2, 3] |
2,925,826 | 2,925,827 | PHP/JavaScript How to combine 2 page in one | <p>I need a reference on how to make 2 pages become one.</p>
<p>Originally i have 2 php pages. View.php and comment.php</p>
<p>The view.php will have a link to call comment.php. When click the 'comment' link, it will open comment.php like pop up. After fill in the comment, and click send, it will closed and return th... | php javascript | [2, 3] |
619,237 | 619,238 | bx slider vertical scroll jumping and other issues | <p>I am using bx slider to create an auto, vertical scrolling slideshow. I am currrently having two issues:</p>
<ol>
<li>It jumps quite a bit when it gets back to the first slide.</li>
<li>After three or four cycles, the last slide rolls out of the div and then the screen is white for a good three or four seconds and ... | javascript jquery | [3, 5] |
3,268,868 | 3,268,869 | How can I check if a background image is loaded? | <p>I want to set a background image on the body tag, then run some code - like this:</p>
<pre><code>$('body').css('background-image','http://picture.de/image.png').load(function() {
alert('Background image done loading');
// This doesn't work
});
</code></pre>
<p>How can I make sure the background image is fu... | javascript jquery | [3, 5] |
5,900,298 | 5,900,299 | Ajax message | <p>Want to display a "confirm" message in my asp.net appl, when the window closes, but when the Cancel button is pressed, the page closes, the event is not Canceled.
I tried a different approach: I use; event.returnValue = "Message";
This approach works (when cancel is pressed, page does not close), but I get the "Mes... | asp.net javascript | [9, 3] |
4,859,251 | 4,859,252 | Javascript progress animation | <p>I am trying to build a progress bar using jQuery and javascript.</p>
<p>It is basically a bar</p>
<pre><code><div id="progressbar"><div id="progress"></div>
<div id="number">0%</div>
</code></pre>
<p>when you click on the next button (which isnt here) it changes the width of the prog... | javascript jquery | [3, 5] |
1,142,253 | 1,142,254 | JQuery Modal Box On PHP else die | <p>Just wondering if there is a way to include a JQuery modal box/popup in the event of a PHP else die statement, e.g: <code>else die("Invalid");</code>.</p>
<p>So rather than the output <code>Invalid</code> displaying on the page, the else die triggers a JQuery modal popup box that contains the output <code>Invalid<... | php jquery | [2, 5] |
1,115,693 | 1,115,694 | How do I re-create "this" inside an event handler? | <p>I've got an event handler that was pre-bound to a specific variable (via <code>$.proxy</code>). As a result, when the handler is triggered, <code>this</code> isn't the normal value, it's my pre-bound value.</p>
<p>I'd like to recover <code>this</code> using the handler's <code>event</code> argument, but <code>this... | javascript jquery | [3, 5] |
4,207,798 | 4,207,799 | Move Android Status Bar in Ice Cream Sandwich | <p>I'm working on a project to modify some of the UI elements on Android 4.0 (Ice Cream Sandwich.) Specifically, I'm trying to reposition the status bar to the bottom of the screen.</p>
<p>I have found a post for doing something very similar <a href="http://stackoverflow.com/questions/5971585/move-the-android-status-... | java android | [1, 4] |
3,066,868 | 3,066,869 | Creating a jQuery plugin to cause individual elements to react when the window is resized. How do I handle the listeners? | <p>I'm working on a plugin that causes something to happen in selected elements when the window is resized. The logic on what happens is perfectly fine, but I'm running into a conundrum when it comes to where to hook on the event listeners.</p>
<p>Basically, the code looks something like this:</p>
<pre><code>$.fn.beA... | javascript jquery | [3, 5] |
1,152,135 | 1,152,136 | how to make a single jar file of multiple classes that can be used in other projects | <p>I have some classes say I have 20 classes with different objectives. Now what I want to do is that I want to make a single jar file of all of them. I want to do this because I want to use these classes as a single Jar in other projects. How can I do this?</p>
| java android | [1, 4] |
6,020,539 | 6,020,540 | jQuery Ajax call not working in Chrome Browser | <p>jQuery Ajax call not working in Chrome Browser.</p>
<p>my code :-</p>
<pre><code>function memories(pageName)
{
$.ajax({
type: "POST",
url: pageName,
success: function(html){
$("#page").load(pageName);
}
});
}
</code></pre>
| javascript jquery | [3, 5] |
129,446 | 129,447 | How to load file from URL on every 2s (over and over )? | <p>How to load file from URL on every 2s (over and over )? Do I need to close connection or to stay connected ( I load one time with this code ) ? Do I need to use synchronized somewhere ?</p>
<pre><code>public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layo... | java android | [1, 4] |
5,016,613 | 5,016,614 | iframe video in automatic fullscreen on a webview android | <p>This is the code I'm using to play a video inside a webview, however I want that the video to fill the fullscreen when I start the app. This way the user doesn't need to tap the fullscreen button. I already tried some ways but till now, no success. </p>
<p>If someone can help me, thanks.
;)</p>
<pre><code>webView... | java android | [1, 4] |
2,611,282 | 2,611,283 | Use Javascript Object in PHP without POST or AJAX | <p>Is there a way to pass a JSON object directly into PHP and work with it?</p>
<p>Something like this:</p>
<pre><code><script>
var gridData = {"id":100,"level":"B","Zone":"Entry"};
</script>
<?php
echo "Your grid Information is:". [**How to get the gridData displayed here**]
?>
</code></pre>
<p>... | php javascript | [2, 3] |
944,708 | 944,709 | How to open a user control as popup using jQuery dialog | <p>I have Parts.aspx page,<br>
UserControl1.ascx,[ it contains a textbox and one button1 ]<br>
Add.ascx Controls [ it contains a textbox, button2, button 3 ]<br>
I have added UserControl1.ascx in parts.aspx page.</p>
<p>Now when I click button1 [usercontrol1.ascx] it should open like a popup Add.ascx on top of the pag... | jquery asp.net | [5, 9] |
5,628,889 | 5,628,890 | Ques regarding sending email to a specific user | <p>So I just googled n found out this code:-</p>
<pre><code>MailMessage message = new MailMessage ("abc@somedomain.com","administrator@anotherdomain.com","Testing","This is a test mail");
</code></pre>
<p>Now my ques:-
How do I send a nicely formatted Email with links and all instead of simple text "This ... | c# asp.net | [0, 9] |
2,813,969 | 2,813,970 | ie8 split function issue in javascript | <p>I want to split the string with <code>'</span>'</code>. I used the following code</p>
<pre><code>var select_value = td_value.split('</span>');
</code></pre>
<p>It works in fine in FF, chrome. But IE not support this. So i tried the following. But it is not working.</p>
<pre><code>var select_value = td... | php javascript jquery | [2, 3, 5] |
4,450,828 | 4,450,829 | ASP.net Data GridView | <p>I need to generate Data gridview just like below. All the P Cells should be textboxes and editable. I have no clue how to do it .please let me know how I can do it in C#. Thanks in advance </p>
<p><img src="http://i.stack.imgur.com/Wcz3s.png" alt="enter image description here"></p>
| c# asp.net | [0, 9] |
3,274,877 | 3,274,878 | Yes No Cancel buttons for AJAX Modalpopupextender | <p>Does Ajax ModalPopupExtender has an option to create 3 buttons?? Yes, No and Cancel? for Asp.net, c# </p>
<p>I have been trying since few days. But i could not come up with a solution. I can just find OKControlID and CancelControlID. </p>
<p>
</p>
<pre><code><table id="pnlPopupMerchantUpdate" run... | c# asp.net | [0, 9] |
3,761,811 | 3,761,812 | JS syntax breaks the page | <p>I have the following code in my external JS file:</p>
<pre><code>var myDiv = $(".myDiv");
if (myDiv.css('left') == 'auto') {
var pos = myDiv.position();
myDiv.css({ "left:" + pos.left + "px", "top:" + pos.top + "px" });
}
</code></pre>
<p>It appears that the following line breaks my page:</p>
<pre><c... | javascript jquery | [3, 5] |
2,446,207 | 2,446,208 | ASP.NET Windows Role Provider (AspNetWindowsTokenRoleProvider) not noticing a user being added to a new group | <p>I am trying to create an application that uses <strong><authorization></strong> rules to limit the groups that are authorized to access the application. I am using Windows authentication and the Windows Role provider for ASP.NET (AspNetWindowsTokenRoleProvider). I am using local groups to define the roles, as ... | c# asp.net | [0, 9] |
2,926,575 | 2,926,576 | Find Out Dynamic IP address of Computer using c# | <p>I've to check that system has static or dynamic IP Address & then display ITs Dynamic address.I know how to find out static address.I want to know how to find out Dynamic IP address.....</p>
| c# asp.net | [0, 9] |
6,023,465 | 6,023,466 | Finding which elements in the page share the left and the right edges with any component | <p>How to find which elements share their right edge with the left edge of an component and which components share their left edge with the right edge of the component? So my function takes a single id say X and returns me a Java script object like </p>
<pre><code>{
leftElements = [leftElement1,leftElement2,...],
ri... | javascript jquery | [3, 5] |
3,306,438 | 3,306,439 | Any solution to use non-guessable links in a program? | <p>I've been looking for a file hosting site to host my files and my friend offered me a premium account on Box.net.</p>
<p>The problem in this host site (and on many others) is that the links arent guessable, they cant be predicted. That means: If you upload 2 images called "1.jpg" and "2.jpg", the links aren't like ... | c# java javascript | [0, 1, 3] |
4,723,658 | 4,723,659 | Using class as object property name | <p>For the below code Aptana is giving me "Missing name after. operator" but the code is working.</p>
<p>Can I use class as an object variable name. Also what are the reserved keyword for variable name.</p>
<pre><code>response = JSON.parse(data);
alert(response.class);
</code></pre>
| javascript jquery | [3, 5] |
963,562 | 963,563 | adding thumbnail to gridview | <p>I have been struggling for a while to add a thumbnail of an image to a gridview so that the image can be displayed as a smaller version of the original.</p>
<p>I am still in the process of learning C# coding and was hoping I could receive some help. I managed to upload the picture and even to display the picture bu... | c# asp.net | [0, 9] |
1,412,191 | 1,412,192 | Jquery / Javascript get params from window localtion | <p>My URL is:</p>
<pre><code>http://localhost:3000/?sort=rating
</code></pre>
<p>The parameter <code>sort</code> is dynamic, and I would like to add it to another URL.</p>
<p>In my javascript I have:</p>
<pre><code>window.location.pathname + '.js?page=' + currentPage
</code></pre>
<p>How do I add the <code>sort</c... | javascript jquery | [3, 5] |
325,571 | 325,572 | Visual C# : how to login to a website(that is built via asp.net classic) and keep the user logged in .. | <p>Step 1 : Log into a website
Step 2 : navigate a a particular page
Step 3 : download a file (I suppose webclient would be ideal here) </p>
<p>would like all this to be happening silently without the user knowing it .
I do not want to use the webbrowser object for the same reason</p>
<p>Note : The Website is buil... | c# asp.net | [0, 9] |
4,020,445 | 4,020,446 | OO design: Using Linq2Sql in Front-end pages | <p>Would it be a terrible if I were to use Linq2Sql in my front end pages (ie: aspx and ascx pages). It would save me huge amounts of time.</p>
| c# asp.net | [0, 9] |
2,861,737 | 2,861,738 | JavaScript Function Return Scope | <p>A function triggers a database call which returns some Json. This CID is then used to stamp the newly added DOM element.</p>
<p>I need to retrieve / return the value of "cid" which exists within ajax success block, it will be used to update attribute.</p>
<p>Error
<strong>cid is not defined</strong></p>
<pre><cod... | javascript jquery | [3, 5] |
4,149,744 | 4,149,745 | SimpleCursorAdapter is undefined? | <p>Below is the sample of code giving me grief. The simpleCursorAdapter works if I put it outside of the textchangedlistener but not in I keep getting the message</p>
<blockquote>
<p>The constructor SimpleCursorAdapter(new TextWatcher(){}, int, Cursor, String, int, null) is undefined</p>
</blockquote>
<pre><code>tx... | java android | [1, 4] |
5,240,951 | 5,240,952 | Get Parameters used by ObjectDataSource in ASP.NET | <p>How can I access the values passed after an update using the following asp.net controls:</p>
<ul>
<li>details view</li>
<li>objectdatasource</li>
</ul>
<p>Thanks.</p>
| c# asp.net | [0, 9] |
2,137,460 | 2,137,461 | Custom Query Dynamic Data Application | <p>I am trying to use a Dynamic Data Application and having issues with customizing a query. Everything scaffolds wonderfully, however, I want to be able color code the main Parent table when a Child Objects Property is a certain value. Normally I would just iterate over the data using LINQ however, all the information... | c# asp.net | [0, 9] |
3,273,433 | 3,273,434 | Synonym for ApprovalWorkflow | <p>We have an abstract workflow class that is called <strong>ApprovalWorkflow</strong> the thing is it can hold both an approve, reject and input state. Its slightly misleading to call it ApprovalWorkflow but I cant be sure of what the right term is. </p>
<p>Does anyone know of a better term to call ApprovalWorkflow a... | c# java c++ | [0, 1, 6] |
2,730,357 | 2,730,358 | adding an "active" class to parent and child element | <p>Need to add an active class to both parent and child element if a user clicks on the child element in a list. My html is as follows:-</p>
<pre><code><ul class="tabs">
<li class="accordion"><a href="#tab1">Bar</a>
<ul class="sub">
<li>lorem/li>
... | javascript jquery | [3, 5] |
2,035,959 | 2,035,960 | The import javazoom cannot be resolved | <p>hi all
i use the javazoom.jl.player.Player package but it is says The import javazoom cannot be resolved. i am using eclipse and doing Android project. i clean the project still the same error is shown. please correct me.</p>
| java android | [1, 4] |
3,204,755 | 3,204,756 | jquery 1.9.1 on event not working | <p>With Jquery v1.5.2 following function works, I have upgraded jquery to 1.9.1 live has been replaced to <strong>on</strong> function. if I change live to on. its not working.</p>
<p>I changed on to live and included the migration plugin its working. how can I use this with <strong>on</strong> function </p>
<pre><co... | javascript jquery | [3, 5] |
5,813,221 | 5,813,222 | Field of view type effect? | <p>I've been playing around with blocking out other divs on button press, and Block UI is a very nice tool, however it creates rectangular blocks around divs which doesn't really look good, so I was wonering if it was possible to do a "field of view" type block with jquery like the one in the image below.</p>
<p><img ... | javascript jquery | [3, 5] |
1,733,796 | 1,733,797 | Does div with certain content exist | <p>If I have a container div called <code>#container</code> which has a bunch of <code>.inside</code> divs in it, how would I go about checking whether a certain <code>.inside</code> div with a specified content (just a string of English text) exists or not? I'm doing this to prevent duplicates in a notification system... | javascript jquery | [3, 5] |
3,842,851 | 3,842,852 | Query-able Client-Side Storage for GridView and DetailsView | <p>My concern is that using a DetailsView with a Selectable GridView requires two queries to the SQL server. One to populate the GridView with data and a second each time an item is selected from the GridView to display the pertinent information in the DetailsView. Is there not a way to just make the first query whic... | javascript asp.net | [3, 9] |
1,305,047 | 1,305,048 | IEnumerable.except error | <p>I have two <code>IEnumerable<dynamic></code> of data retrieved from database tables, called <code>FullSet</code> and <code>InScopeSubSet</code> . </p>
<p>The second <code>IEnumerable<dynamic></code> is a subset of the first set (both sets have <code>ChildID</code> as their unique ID)</p>
<p>I would li... | c# asp.net | [0, 9] |
2,917,819 | 2,917,820 | Retrieving and displaying dynamic content from SQL database into ASP.NET pages | <p>I am currently working on the development of news portal website in asp.net. I have created a table in sql server 2008 with parameters (NewsId, NewsTitle, NewsDetails, NewsCategory). I am now able to dynamically retrieve the NewsTitle from the database and displaying it in my aspx page.
Now I want to pass the NewsI... | c# asp.net | [0, 9] |
3,895,133 | 3,895,134 | accessing an object literal defined with jQuery onready from without | <p>I have adopted a project that has several object literals defined - mostly for just structuring the code. Btw, not a full-time front-end developer. The problem is that some of them are defined with the jQuery onready event and some are outside. This seems really problematic to say the least. Would this be considered... | javascript jquery | [3, 5] |
4,618,100 | 4,618,101 | Detect if any input box on a panel changed | <p>How do I detect if any control on a panel has value changed? Is there any event gets fired on a panel if control value changes?</p>
<p>I am having some issues with query printElement() plug in. For that I have to detect changes on panel without a postback.</p>
<p>Thanks,</p>
| c# asp.net | [0, 9] |
451,146 | 451,147 | is there a way to use multiple strings in the jquery :contains() selector? | <p>hi i was wondering if there is a way to use multiple strings in the <a href="http://http://api.jquery.com" rel="nofollow">jquery</a> selector <code>:contains()</code>. for example I would liek to do something like this:</p>
<pre><code> $("#"+idArray[i]).find("th:Contains(" + query && query2 + ")").closest($... | javascript jquery | [3, 5] |
978,564 | 978,565 | Include PHP inside javascript (.js) file | <p>I have a javascript file (.js file, not HTML file) containing several js functions. I want to call one of the PHP functions in a PHP file containing only several PHP function from within one of the js functions. Is that possible? Would I need to "include" the .php file containing the php function in the .js file?... | php javascript | [2, 3] |
2,253,793 | 2,253,794 | How do I create a javascript control in jquery? | <p>I am using jquery library.
I have to let users create their own Cars on the browsers. For example:
Let's say that the object model is such that a Car has a collection of wheels and a name. Each wheel has a colour.</p>
<pre><code>var Car = new Car();
Car.Name = "BMW";
Car.Wheels = [];
var WheelR = new Wheel();
Wh... | javascript jquery | [3, 5] |
5,447,603 | 5,447,604 | Android - getTabHost() is undefined | <p>I started learning Java and how to program for Android last night :)</p>
<p>So far I'm on this tutorial: developer.android.com/resources/tutorials/views/hello-tabwidget.html</p>
<p>Clearly these tutorials have been designed for people that already have experience with Java. </p>
<p>Despite the tutorial lacking al... | java android | [1, 4] |
3,526,302 | 3,526,303 | Find control of child gridview in a dropdown selected index change event | <p>i have a two gridview Gv1 which is parent and gv2 which is nested inside Gv1
and i want to find the control of child gridview as well as the label which is placed inside the itemtemplate of childgridview in the selectedindexchange of dropdownlist which is placed outside the both grids</p>
<p>i have used this code i... | c# asp.net | [0, 9] |
992,311 | 992,312 | jquery check previous check-box before a tag to be checked | <p>I have a code like</p>
<pre><code><input type="checkbox" name="abc" value="A" class="chbx">
<a href="#" class="checkbox-selector">href1</a>
<input type="checkbox" name="abc" value="b" class="chbx">
<a href="#" class="checkbox-selector">href2</a>
<input type="checkbox" name="ab... | javascript jquery | [3, 5] |
5,653,074 | 5,653,075 | why jquery.load function not working? | <p>in <code>dbload.php</code> i wrote:</p>
<pre><code> <?php
class grid
{
function show()
{
echo"<div id = 'show'>";
if(isset( $_GET["Name"] ))
echo "done";
else
echo "Not done";
echo "</div>... | php jquery | [2, 5] |
2,807,989 | 2,807,990 | how to change object embed source via jquery | <p>I have the following scenario..</p>
<p>When the user visit my website I show the user some audio files from the server. When the user clicks on one link, then the jquery function is eventually executed and change the source of the embedded object to selected file.</p>
<p>my script is :</p>
<pre><code> <scrip... | javascript jquery | [3, 5] |
115,882 | 115,883 | Android Java - How to make my program loop | <p>How can I loop a program? Do I add code to OnActivity after existing code to make it restart to a certain place in the code?</p>
<p>I have an IF THEN statement, which at the end I want it to goto a portion of the code where it activates the TTS not from very begining where I have a button to start....</p>
<p>Thank... | java android | [1, 4] |
4,319,249 | 4,319,250 | Changing DIV color without giving an ID? | <p>I have the following code : </p>
<pre><code><div id="wrapper">
<div style="width:500px;background-color:yellow;"> // this is a parent div
<div style="width:260px;">
<a href="javascript:XXXXX">Click me to color only the FIRST yellow div</a>
</div>
</div>
... | javascript jquery | [3, 5] |
5,088,425 | 5,088,426 | .Net how should i share session objects between different layers of asp.net project | <p>I have created a List objects when application starts and saved them as a session variable.</p>
<p>I then use this session variable throughout life of the application.</p>
<p>At times I update to this List in other layers of the application so I want to pass this session variable to other layers.</p>
<p>Should I ... | c# asp.net | [0, 9] |
1,553,378 | 1,553,379 | What does ver=3.1.2 at the end of ajax.js or filename.js?ver=3.1.2 mean? | <p>I am having some conflicting jquery issues on a website and as I was trying to figure it out, I have noticed the following suffixes in my head files:</p>
<pre><code>ajax.js?ver=3.1.2'></script>
jquery.prettyPhoto.js?ver=3.1.2'></script>
jquery.cycle.all.2.72.js?ver=3.1.2'></script>
jca... | javascript jquery | [3, 5] |
4,704,340 | 4,704,341 | Incrase / decrase div size with 1 px on click button | <p>I've made a website with windows PVC and doors PVC products.
I want to make order page with a calculator. it's working but I need now to animate the configuration of the window.( example: <a href="http://orasvirtual.ro/images/a.JPG" rel="nofollow">http://orasvirtual.ro/images/a.JPG</a>)
so, the default window size i... | php jquery | [2, 5] |
1,982,194 | 1,982,195 | How to format date | <p>I have a date as "Thursday, 4 Aug 2011". How do I format it to "yyyy/MM/dd"? I have tried the codes: </p>
<pre><code>var myDate = dateText.toString("yyyy/MM/dd");
myDate = Date.parseExact(myDate, "yyyy/MM/dd")
</code></pre>
<p>but none seem to work. Help please. </p>
| javascript jquery | [3, 5] |
3,389,221 | 3,389,222 | jQuery append an element more than once | <p>I'm currently trying to add n number of divs to the bottom of the body, however using this code: </p>
<pre><code>star = $('<div class="star" />');
for(i=0; i<12; i++) {
$('body').append(star);
}
</code></pre>
<p>results in just one div being appended to the bottom of the body. I'm guessing this is b... | javascript jquery | [3, 5] |
3,290,398 | 3,290,399 | asp.net include page like php | <p>im starting to learn asp.net :P, and in php i should use include(); to show something like a menu. but how can i do this in asp.net?</p>
<p>i dont mean a simple include, but a page where i can query a database to make the page dynamicly for example.</p>
<p>i hope you understand my problem.</p>
| php asp.net | [2, 9] |
213,138 | 213,139 | Automatically sets second select field value | <p>So basically I need to make feature that if you select something from first select box, it will be automatically selected in second select box too, and if you will change anything in second select box, it will be changed automatically in first select box too. Here is how far I'm currently am, I have fixed, if someoe... | javascript jquery | [3, 5] |
642,108 | 642,109 | Determine if key pressed is in provided array | <p>I have code similar to this:</p>
<pre><code>$("#some-input").keyup(function (event) {
var availableKeys = [".", ",", ";"];
var key = String.fromCharCode(event.which);
if (availableKeys.indexOf(key) != -1) {
alert("Derp");
}
});
</code></pre>
<p>However it does not work as I expected. The <code>event.wh... | javascript jquery | [3, 5] |
3,020,739 | 3,020,740 | what is this window.top check performing? is this checking for an iframe? | <pre><code>if(window.top!==window.self){document.write="";
window.top.location=window.self.location;
setTimeout(function(){document.body.innerHTML=""},1);
window.self.onload=function(){document.body.innerHTML=""}};
</code></pre>
<p>Is this making sure the page isn't rendering inside of a iframe?</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.