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,266,871 | 5,266,872 | alternatives to jquery animate? | <p>On hover I want my div to scroll down.</p>
<p>I know i can use the <code>.animate({left: 0}, "slow");</code> but this doesnt go down but what else does jquery have to offer?</p>
<p>Here is my jsfiddle: <a href="http://jsfiddle.net/WZvPk/4/" rel="nofollow">http://jsfiddle.net/WZvPk/4/</a></p>
<p>hover over the sec... | javascript jquery | [3, 5] |
4,523,375 | 4,523,376 | Event keycode in javascript for galaxy tablet | <p>Any one aware of the event keycode of the key (to use in javascript) for the following.</p>
<p>Android devices --> key which minimizes the keyboard when the focus is on.</p>
<p>Generally, we can minimize the keyboard which is up (when the focus is on textbox) by pressing a key in android devices (which is generall... | javascript android | [3, 4] |
1,840,080 | 1,840,081 | 'Please wait' screen between pages in C# ASP.NET. Best practice? | <p>I have a gridview with some imagebuttons, each of which kicks off a report page for that item. The report take 10-15 seconds to run, so I'd like a popup 'Generating report, please wait' type thing. I can think of a few ways but would like the opinion of those more experienced than I. The options I was considering... | c# asp.net | [0, 9] |
5,028,254 | 5,028,255 | Best way to get map overlays from a server to Android \ iPhone client | <p>I want to implement a client app for Android and iPhone, which will get from a servlet data about specific locations (X pos, Y pos, short description and url to image), and will represent it on mapView. I have no problem implementing all map issues, but I have a question regarding how to transfer all data. Would it ... | android iphone | [4, 8] |
1,878,101 | 1,878,102 | Reddit Style Voters with jQuery | <p>I am trying to copy reddit's voting buttons but I'm somewhat new to jQuery so I'm having challenges. My HTML block looks like:</p>
<pre><code><ul class="karma-controls">
<li class="karma-control karma-up karma-up-selected"><a href=""></a></li>
<li class="karma-total">1&l... | javascript jquery | [3, 5] |
3,465,857 | 3,465,858 | JQuery scroll function issue on IPhone | <p>Im having problems using JQuerys scroll function on the iPhone.</p>
<p>Heres a link to the JSfiddle <a href="http://jsfiddle.net/GRnSE/" rel="nofollow">http://jsfiddle.net/GRnSE/</a></p>
<p>Ok so I have this effect where when the user scrolls down the content of the header fades out and moves up at half the speed ... | jquery iphone | [5, 8] |
2,199,865 | 2,199,866 | Asp.net IE & Safari JQuery compatiblity issue | <p>I recently developed a site but I am having some troubles with displaying a particular JQuery Carousel on Safari be it on the PC or iPhone. Displaying on IE or Firefox has no problem. The issue arise when I refresh that particular page, the JQuery becomes distorted, the image is sliced and buttons gone. I would real... | c# jquery asp.net | [0, 5, 9] |
4,557,767 | 4,557,768 | jquery draggable/droppable issue | <p>Hey guys I have a drag and drop function that <strong>does not fully work</strong>. What I want to do is be able to drag and drop a picture into a div and have that picture pop up in the div. I have a list of 2 pictures right now, so I have the following function echoed for each picture. Both pictures are draggable ... | php jquery | [2, 5] |
1,867,110 | 1,867,111 | Problem with jquery setting wrong RequestUrl | <p>I'm using the $ajax interface, working from localhost.</p>
<p>First example works as expected, RequestUrl (seen e.g. in Chrome Developer tools network tab) is: /commentSubmitted</p>
<pre><code>$.ajax({
type: "POST",
url: '/commentSubmitted',
data: "hi"});
</code></pre>
<p>This here doesn't... | javascript jquery | [3, 5] |
1,598,748 | 1,598,749 | execute javascript method after completing code behind method? | <p>I want execute below callback() method after completion of <code>document.getElementById('btnDownload').click();</code> method . Now <code>callback()</code>executing immediatly. I want wait "Click()" process done then Execute <code>callback();</code> method.</p>
<pre><code>function LoadPopup() {
// find t... | asp.net javascript jquery | [9, 3, 5] |
5,175,092 | 5,175,093 | enable textbox when checkbox checked in a TABLE ROW | <p>My <code>submit.cshtml</code> is: </p>
<pre><code><table id="scDetails" class="table">
<thead>
<tr>
<th>Item</th>
<th>IsChecked</th>
<th>Comment</th>
</tr>
</thead>
<tbody>
... | javascript jquery | [3, 5] |
2,282,695 | 2,282,696 | how to use variable inside .wrap() | <p>This might sound silly but i'm having trouble printing a variable in this code - </p>
<pre><code>var clsuffix = "something";
$("#box").wrap('<div class="boxy" />');
</code></pre>
<p>I want to print the <strong>clsuffix</strong> variable inside the class=" <em>here</em> "
so it could be like </p>
<pre><code>... | javascript jquery | [3, 5] |
5,520,817 | 5,520,818 | Why < is getting converted as < during runtime | <p>I am trying to write an aspx page where I am passing some server side value to the Javascript. The server side tag is changing from <code><%</code> to <code>&lt;%</code></p>
<pre><code><asp:TextBox
ID="txtOriginalNo"
runat="server"
onkeyup="javascript:EnterKeyPress(<%=ibtnSubmit.ClientID%&g... | asp.net javascript | [9, 3] |
3,269,650 | 3,269,651 | Showing on mouseover a div created dynamically and remove | <p>I searched a lot through questions but I did not find the right way. My problem is: I want to create a <code>div</code> dynamically , showing it on <code>mouseover</code> appending it to another <code>div</code>, and remove (through <code>remove()</code> function) on <code>mouseout</code>. I tried couple ways but in... | javascript jquery | [3, 5] |
4,427,127 | 4,427,128 | javascript: execute jquery code variables by the function | <p>i don't know good title but heres the explain</p>
<p>i have this link</p>
<pre><code><a href="#" class="link" effect="show"> Link1 </a>
<a href="#" class="link" effect="fadeIn"> Link2 </a>
<a href="#" class="link" effect="slideDown"> Link2 </a>
</code></pre>
<p>i want if click ... | javascript jquery | [3, 5] |
3,964,811 | 3,964,812 | On click move option to next select | <p>I would like to move each option on click to next select, here is what currently I have got:</p>
<pre><code><form action="#" method="get">
<select multiple name="players" id="players">
<option value="player">player</option>
<option value="player1">player1</option>
<... | javascript jquery | [3, 5] |
4,576,181 | 4,576,182 | software design - tools and tips on how to develop api's and such | <p>I have become a software programmer over the years.
I have read books on programming, different types software development approaches like waterfall. UML concepts such as class diagrams.</p>
<p>But, I'm always lacking in the design side. I'm looking for a tool or something that will easily aid me in designing softw... | java javascript android iphone c++ | [1, 3, 4, 8, 6] |
1,926,002 | 1,926,003 | (Javascript) Div toggle and cookies | <p>I want to toggle a div#featuredout using a button .featToggle and I want the browser to remember via cookies whether the div#featuredout should be hidden or shown. If possible, I'd like it to be so that if #featuredout is hidden, .featToggle should have an additional class of "hidden" and if #featuredout is shown, .... | javascript jquery | [3, 5] |
892,527 | 892,528 | Response.AddHeader attachment doesn't work | <p>here's the code I have:</p>
<pre><code> Response.Clear();
Response.AddHeader("content-disposition", "attachment; filename=file.xlsx");
Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
Response.BinaryWrite(pck.... | c# asp.net | [0, 9] |
2,942,136 | 2,942,137 | Radio Button not updating value on Server Side | <p>I have 3 radio buttons in a form which are all part of a single group. When one of the non-default radio buttons is clicked, they update on the client side properly (deselects previous radio button and selects new one). I have even attached an OnClientClick to the button that submits the form to test it and right be... | c# javascript asp.net | [0, 3, 9] |
5,221,071 | 5,221,072 | How do I select a collection of checkboxes...? | <p>I have the html:</p>
<pre><code><tr>
<td><input type="checkbox" value="3" id="userListingSelect0" cssclass="cbDelete">
</td><td>general</td>
<td><a href="editUser.aspx?userId=3">Edit</a></td>
</tr>
<tr>
<td><input type="checkbox" value... | javascript jquery | [3, 5] |
5,285,167 | 5,285,168 | Check if a username has been registered | <p>I am using the builtin ASP.NET logon and user management features. Is there a way to just identify if a username or email address is already registered? I would've thought it's part of FormsAuthentication or similar, but can't find such a function.</p>
| c# asp.net | [0, 9] |
1,265,164 | 1,265,165 | Done PHP with Codeigniter for 2 years. How about C# with ASP.NET MVC for the next level? | <p>Any opinions
Ideas
Reasons</p>
<p>Web development is my first choice but id want to go into developing games once i get more knowledge and become better at programming.</p>
| php asp.net | [2, 9] |
4,859,522 | 4,859,523 | java script alert a message when user click on window | <p>I am working on a php site.I want to use java script code for alert message when user click on anywhere in window.i am using window.onclick=function name()</p>
<pre><code>function function name()
{
alert('message');
}
</code></pre>
<p>but it is not working.</p>
| php javascript | [2, 3] |
2,510,407 | 2,510,408 | jquery select every line that starts with > | <p>What's the easist way to select every line that starts with the:</p>
<p>></p>
<p>For example stackoverflow turns every line that starts with > into a quoted line. I want to do the same thing.</p>
| javascript jquery | [3, 5] |
1,093,653 | 1,093,654 | jQuery IF statement (Only if a web browser on a desktop) not a mobile device / iPad | <p>is there a easy way with jQuery to essentially have a jQUery/JS if statement along the lines of:</p>
<pre><code>IF User is on a web Browser on a desktop... not a mobile device / iPad
</code></pre>
<p>Thanks</p>
| javascript jquery | [3, 5] |
1,765,012 | 1,765,013 | What is the difference between these 2 javascript? | <p>I have been using Javascript but more in a procedural way not the object oriented way. Recently, I am just getting started to learn Javascript in a OOP manner. Can anybody tell what is the difference between:</p>
<pre><code>var foo = {
method1 : function(){
}
}
</code></pre>
<p>and</p>
<pre><code>var foo = f... | javascript jquery | [3, 5] |
3,332,321 | 3,332,322 | Variable declaration with its name containing value from loop | <p>i am php developer just started at java i want to declare dynamic variables inside a loop and for that i have to append the loop value to varaible name this is what i want . </p>
<pre><code>I would like to make statement like this
for (i=1; i<6; i++)
{
String new_variable_ + i;
}
</code></pre>
<p>the above c... | java android | [1, 4] |
1,440,276 | 1,440,277 | Displaying images from collection in asp.net | <p>I have a collection of custom type which is as follows:</p>
<pre><code>[DataContract]
public class PhotoDC
{
public PhotoDC();
[DataMember]
public byte[] ImagebyteArray { get; set; }
[DataMember]
public string Name { get; set; }
}
</code></pre>
<p>I want to show all the items (image and name) ... | c# asp.net | [0, 9] |
1,313,043 | 1,313,044 | jQuery javascript binding and calling issue | <p>I have a JavaScript function named 'mc_change'. Also, I have a textbox whose change event should call that JavaScript function</p>
<blockquote>
<p><input type="text" id="mc_val" onchange="javascript:mc_change();" /></p>
</blockquote>
<p>It's not working<br><br>
Can anyone suggest me same normal JavaScript ... | javascript jquery | [3, 5] |
3,988,843 | 3,988,844 | javascript functions in .ascx | <p>I've looked at about 5 Questions here on SOF and haven't really found a useful answer for this. How am I supposed to invoke my javascript functions from client-side events in my .ascx controls? Here is my .ascx file.. what most the answers have led me to:<br/></p>
<pre><code><%@ Control Language="C#" AutoEventWi... | c# javascript asp.net | [0, 3, 9] |
1,665,838 | 1,665,839 | jQuery is locking up browser | <p>I am not sure if I should be clearing everything or resetting something somewhere.</p>
<p>What is happening is that the browser will lock up for 10 - 30 seconds when setting a int value in the input textbox.</p>
<p>Here is a little snippet:</p>
<pre><code>function RunIt() {
$('#txTotW').bind('keyup', function... | javascript jquery | [3, 5] |
3,209,158 | 3,209,159 | "search" field to filter content | <p>I'm trying to create a simple "search field", what it does is it searches if typed in text is equal to any data-attr of the boxes in the content and if so, hide everything but what found, something similar (this ain't working):</p>
<p>css:</p>
<pre><code>.filter-div {
display: none;
}
</code></pre>
<p>html:</... | javascript jquery | [3, 5] |
3,141,014 | 3,141,015 | Equivalent for $.trim in Javascript? | <pre><code>$.trim(value);
</code></pre>
<p>The above jquery code would trim the text. I need to trim the string using Javascript.</p>
<p>I tried:</p>
<pre><code>link_content = " check ";
trim_check = link_content.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g,'').replace(/\s+/g,'');
</code></pre>
<p>How to use trim i... | javascript jquery | [3, 5] |
3,221,038 | 3,221,039 | Is there a better way to do a List of Objects? | <p>I am trying to create a list of objects. Is there a better way?</p>
<pre><code> // List
public List<page> Select()
{
List<page> _list = new List<page>();
string SqlStatement = "select * from Pages";
SqlConnection thisConnection = new SqlConnection(connStr);
// O... | c# asp.net | [0, 9] |
4,300,498 | 4,300,499 | Would like to add pages to gallery | <p>I am creating a gallery with fancybox that needs to constantly be updated and I do not want to have 100 images all on one page. Is there any way to create the gallery as multiple pages in the javascript? For example have a 3 page gallery with 15 images per page? </p>
<p>I would prefer to not do separate html docume... | javascript jquery | [3, 5] |
1,585,124 | 1,585,125 | Can we impliment the operator over loading in Web services? | <p>Hi
is it possible to implement operator over loading in Web services in .net</p>
<p>Mehar</p>
| c# asp.net | [0, 9] |
3,975,729 | 3,975,730 | using data table sAjaxSource with parameter | <p>I want to send user inserted value as parameter inside JQuery data table sAjaxSource property.
something like this</p>
<pre><code>var UsersData = $('input[name="UserValue"]').val();
$('#myTable').dataTable({
"bServerSide": true,
"sAjaxSource": "/Home/ProcessThis/UsersData",
... | c# javascript jquery | [0, 3, 5] |
5,835,439 | 5,835,440 | How do I check two input[text] values against each other, using JQuery? | <p>I have a quick question...How do I check two input[text] values against each other?</p>
<p>Here's what I have so far:</p>
<pre><code>$('#BuyItNowPrice').blur(function(){
if($(this).val() > $('#StartingPrice').val()){
alert("Please make sure that your BuyItNow price is greater than your Starting Pri... | javascript jquery | [3, 5] |
5,290,201 | 5,290,202 | How to check a value in a textbox and if it hasn't changed for 3 seconds do something, otherwise check again in 3 seconds? | <p>This is my attempt but I believe 'checker(thisVal)' is the part which is causing problems.</p>
<pre><code> $("#search-input").keyup(function () {
var thisVal = $(this).val();
if(thisVal!=''){
var checker = function (v){
if($(this).val() !=v){
setTime... | javascript jquery | [3, 5] |
900,903 | 900,904 | Jquery/JS - Arrow & Return Key Tab Index | <p>I have built my own autocomplete/suggestion feature for my search box.</p>
<p>It works fine but I would love to know how I can use keyword arrow keys, to tab through the list of linked suggestions. I'm thinking to start by adding (tabIndex=1, tabIndex=2, tabIndex=3...) or (rel="1", rel="2", rel"3"...) to my links.... | javascript jquery | [3, 5] |
3,344,183 | 3,344,184 | What does this javascript code do? How can I modify to make it a standalone script in the header? | <p>Look at the source of <a href="http://people.iola.dk/olau/flot/examples/realtime.html" rel="nofollow">http://people.iola.dk/olau/flot/examples/realtime.html</a></p>
<p>The function that draws the graph is for some reason IN the HTML instead of the header. It also has some mad weird <code>$(function() {});</code> en... | javascript jquery | [3, 5] |
5,643,458 | 5,643,459 | Can I convert a php $_POST variable into a jquery variable? | <p>I want to know can I convert a php $_POST variable into a jquery variable. I have php variable below:</p>
<pre><code><?php $postduration = $_POST['durationChosen']; ?>
</code></pre>
<p>Can I convert the php variable above into a jquery variable?</p>
<p>Thanks</p>
| php jquery | [2, 5] |
2,398,724 | 2,398,725 | Automatically hide a div using jQuery if it gets no MouseOver in a time interval | <p>I have a workaround that shows a div when a menu item gets MouseOver, but hides both only when the div gets MouseOut. This is required for now.</p>
<p>However, if the div never gets MouseOver, it never hides. What I would like to do is automatically hide the div if it doesn't get MouseOver within a few millisecon... | javascript jquery | [3, 5] |
4,783,806 | 4,783,807 | Help with ASP.NET HttpWebRequest | <p>I began to learn ASP.NET and C#, to get more familiar with techniques I want to make plugin for open source <a href="http://ifdefined.com/bugtrackernet.html" rel="nofollow">BugTracker.Net</a> application. Where I am stacked is that for adding new issue application need to get HttpWebRequest on insert_bug.aspx</p>
<... | c# asp.net | [0, 9] |
419,972 | 419,973 | How to get the number of days between two dates? | <p>I need to calculate the number of days between 2 date. I have check the codes given this link
<a href="http://stackoverflow.com/questions/2627473/how-to-calculate-the-number-of-days-between-two-dates-using-javascript">How to calculate the number of days between two dates using JavaScript? </a>.</p>
<p>In this exam... | javascript jquery | [3, 5] |
2,722,339 | 2,722,340 | String is not replaced in CreateUserWizard Registration Email | <p>My website allows users to create accounts. </p>
<p>Upon creating, an email verification with a URL will be send to the user's email. </p>
<p>Problem: The sending of email worked but unfortunately the verification URL did not appear.</p>
<p>And for </p>
<pre><code><a href="<%VerifyUrl%>"<%verifyUrl%&... | c# asp.net | [0, 9] |
5,220,776 | 5,220,777 | add using jquery | <p>I want to do this</p>
<pre><code>var x=$(this).attr('id');
var y = x+1;
</code></pre>
<p>where x is an integer</p>
<p>but the value I get is x1</p>
<p>How do I do get the 16, if x=15?</p>
<p>Thanks
Jean</p>
| javascript jquery | [3, 5] |
4,253,014 | 4,253,015 | How can link each tab to different aspx pages? | <p>I have a application to allow the user upload and download the files. Because the security reason, I have separate the application to Upload.aspx and Download.aspx.</p>
<p>On the default page, I would like use tabs to display upload and download page.</p>
<p>I am very new in the .net world. This might be a very ... | javascript asp.net | [3, 9] |
1,376,721 | 1,376,722 | Convert Java to C# | <p>Could someone pls show me how to convert the following java code into C#. I've tried using TransformBlock to handle the multiple md.update calls but I keep getting the same hash each time - which is different from the java output.</p>
<p>Thanks. </p>
<pre><code>public static String encrypt(String key, String valu... | c# java | [0, 1] |
3,370,021 | 3,370,022 | Insert User Email into Form Automatically jQuery | <p>I am trying to grab text generated by javascript and paste it into a forms input value field. This is what I have so far:</p>
<pre><code>var txt=$('#grabemail').text();
$('#email').val(unescape(txt));
<p id="grabemail" style="color:#fff;">
<script type="text/javascript">formData.display("email")</... | javascript jquery | [3, 5] |
5,075,716 | 5,075,717 | How do I know a particular event.keyCode corresponds to a character and not a command key (such as arrows, tab or enter) | <p>I'm using javascript/jQuery.. on the <code>keydown</code> of an <code>input[type='text']</code> I receive a key code. I need to determine whether it's a character code or a command code because I need to know whether the input will change. I cannot use the <code>change</code> event as this event is postergated until... | javascript jquery | [3, 5] |
2,348,941 | 2,348,942 | jQuery script to click automatically on a link | <p>My current code that i use is this:</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
$('#on_holiday').trigger('click');
});
</script>
</code></pre>
<p>How ever, this only works when the 'ID' is 'on_holiday' within the input form. I need this to work when I have another eleme... | javascript jquery | [3, 5] |
3,995,294 | 3,995,295 | Using JavaScript With C# For non browser based operations | <p>I recently had to take a quick look at Adobe InDesign server. In this enviroment you write your interactions with the servers libs via JavaSscript. </p>
<p>This got me thinking, how could I use the Javascript language within a C# application so that I could expose set bits of functionality of my API/framework and a... | c# javascript | [0, 3] |
3,891,625 | 3,891,626 | problem of back history not being clear after logout in asp.net | <pre><code>protected void Page_Load(object sender, EventArgs e){
Session.Abandon();
FormsAuthentication.SignOut();
Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Redirect("~/Admin/adminLogin.aspx");
}
</code></pre>
<p>I m not using any master page.so i have make one logout pa... | c# asp.net | [0, 9] |
2,676,257 | 2,676,258 | How to write in a id of form | <p>I have to write in a textarea but i have two "id" equal because i create the form for changing data.
If the form is:</p>
<pre><code><form method="GET" name="formparam" id="formparam" action="${nextstep}">
<label>ID</label></td><td>
<textarea class="expand" name="inputp'+v+'_... | javascript jquery | [3, 5] |
1,624,818 | 1,624,819 | converting json string into json on client side? | <p>In my javascript code I am getting json string from cs file</p>
<pre><code>var tmpString="<%=resultset2%>";
</code></pre>
<p>In cs I am concatenating strings to build json string. Here is an issue the json string is returned as a string and it has " with it.</p>
<pre><code>"[{id:'1',name:'Aik'},{id:'2',... | c# javascript asp.net | [0, 3, 9] |
5,828,977 | 5,828,978 | iphone application client - server user authentication practices | <p>I am going to create a iPhone application that will be having the user login (username/pass) mechanism. on the server side i am using PHP.</p>
<p>i want to know the best practices for this kind of client/server authentication and session management.</p>
<p>looking for replies. Thank you.</p>
| php iphone | [2, 8] |
16,634 | 16,635 | jQuery - double click class reveals drop down to select | <p>I am having major trouble with this.</p>
<p>I am trying to write something in jQuery, when text is double clicked it hides that element and shows a select drop down... However, when the user leaves that element, the drop down should go back to the original text.</p>
<p>I have tried so many methods, and none work. ... | javascript jquery | [3, 5] |
2,223,162 | 2,223,163 | how can i store visitor infomation like reach time ,duration of visit,and exact location of visitor in php | <p>I want to store visitor information like reach time ,duration of visit and also exact location of the visitor.</p>
<p>Can any one give me any ideas about it? Please help me.</p>
<p>Thanks & Regards
Dasarathi</p>
| php javascript jquery | [2, 3, 5] |
5,661,344 | 5,661,345 | Trying to set fileinput val from drag and drop Jquery file | <p>Im trying to make a simple uploader where users drag and drop files from the desktop into the website element. I believe I figured out how but I cant seem to get any information on the file. How can I set a file inputs value from a drag and drop? Here is the drag and drop code im not sure if its correct. The box doe... | javascript jquery | [3, 5] |
5,366,967 | 5,366,968 | Can Only .click Once | <p><a href="http://jsfiddle.net/cwUcM/" rel="nofollow">http://jsfiddle.net/cwUcM/</a></p>
<p>I've gone through all of the other threads that seems to have a similar title, but I haven't found anything =(</p>
<p>I added a console.log, which also only fired after the first click.</p>
<p>It should be a fairly simple is... | javascript jquery | [3, 5] |
291,966 | 291,967 | how do I clear the values in my text input fields? | <p>My code doesn't run and I want the value to be cleared when you click on another
</p>
<p>what am I doing wrong?</p>
<p><a href="http://jsfiddle.net/AL2vS/" rel="nofollow">http://jsfiddle.net/AL2vS/</a> </p>
<pre><code>var placeholderText = $('input').val();
$(placeholderText).focus(function() {
$(this).attr... | javascript jquery | [3, 5] |
412,247 | 412,248 | Add multiple controls to panel in webforms | <p>I would like to be able to add multiple label controls to a panel and display them on an onlick event. The code I have does what I want it to the first time, then the label is simple replaced with a new label on the second onlick event and so on. </p>
<p>Here is what I have so far:</p>
<pre><code> private void cre... | c# asp.net | [0, 9] |
3,172,449 | 3,172,450 | how to printing/create pdf files from an asp.net page? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/9685215/export-to-pdf-in-asp-net-3-5">export to pdf in asp.net 3.5</a> </p>
</blockquote>
<p>What is a tools can I use to print asp.net pages ?
Is there any good software to create pdf files for asp.net?
is the... | c# asp.net | [0, 9] |
95,496 | 95,497 | Double postback required for place holder control | <p>Here's a fun problem. The page in question is wizard like page. here's the scenario-</p>
<ol>
<li>User clicks on a link button to get to step 2 of the wizard. (The post back can't be avoided. URL based navigation isn't an option.)</li>
<li>User clicks on a radio button/link button/any control that requires a postba... | c# asp.net | [0, 9] |
2,904,113 | 2,904,114 | How to save an array of simple objects in my android app? | <p>I'm currently creating my first android app and I've a simple class 'Player' I want to save a few instances (a dozen or two) of that consist of 5 ints. All I wish to use them for is for the user to be able to save and load players.</p>
<p>I'm currently a bit bewildered as to how to do this as googling and searching... | java android | [1, 4] |
2,440,125 | 2,440,126 | How to called many function in one function using javascript? | <p>I have many functions. I am using an asp.net control.
I want to call all of functions in one (main) function. This is a return type function.
This must use Javascript.</p>
<pre><code>function a(){
if(b==c){
return true
}else{
return false;
}
function b(){
if(b==c){
return true;
}else{
... | javascript asp.net | [3, 9] |
1,872,680 | 1,872,681 | Text box value doesn't get post after selecting a date from Jquery datepicker | <p>I create a textbox and add a Jquery UI datepicker.But when I select and click the button.the textbox doesnt get post and show an error message like(Notice: Undefined index: date_text in C:....................\file.php on line 57 ).But when I enter a date using keyboard without having a datepicker it will submit well... | php javascript jquery | [2, 3, 5] |
291,461 | 291,462 | How to display html content using Javascript or jQuery? | <p>Currently I use iFrame to display third party content. For example, my news page displays live website from CNN, MSNBC, Foxnews in single page. </p>
<p>Currently, I am just using iFrame to display those sites, but I was wondering if there is a better way to display the contents using Javascript, jQuery or other typ... | javascript jquery | [3, 5] |
1,382,644 | 1,382,645 | <%@ Page Debug="True" ...... %> | <p>Does setting this value have the same effect as setting the debug="true" in the web.config file? If not, what does it do? </p>
<p>Thanks for the help.</p>
| c# asp.net | [0, 9] |
4,477,674 | 4,477,675 | How can I take jquery id in session | <p>This is my jQuery code for taking id value when I click <code>itemslist</code> </p>
<pre><code>$(document).ready(function() {
$('.itemslist ul li').click(function()
{ $id = $(this).attr("class");
});
});
</code></pre>
<p>But session is not taking that id value </p>
<pre><code>session_start();
$_SESS... | php jquery | [2, 5] |
5,179,611 | 5,179,612 | Display DIV on right click of image | <p>I'm trying to figure out how I can get a DIV to show at the position of the mouse when someone right clicks on an image. An example can be found <a href="http://www.icstone.us/" rel="nofollow">here</a>. </p>
<p>I've searched around and found the following code...</p>
<pre><code>$('img').bind('contextmenu', functio... | javascript jquery | [3, 5] |
5,881,014 | 5,881,015 | ToString() format is not working | <p>I've a strange problem. We use Dutch and French lanuage on our site (nl-NL / fr-FR)</p>
<p>I'm binding to a gridview and the strange thing is, the numeric value-saparator (dot) is not displaying well for French (fr-FR)</p>
<p>ASP.NET</p>
<pre><code>protected void gridview_RowDataBound(object sender, GridViewRow... | c# asp.net | [0, 9] |
1,989,934 | 1,989,935 | How can i rearrange div order at every reload? | <p>Is there a way of rearanging div order?
More exact how can i get from</p>
<pre><code><div id="1"></div>
<div id="2"></div>
<div id="3"></div>
<div id="4"></div>
</code></pre>
<p>this</p>
<pre><code><div id="3"></div>
<div id="1"></div>
<di... | javascript jquery | [3, 5] |
78,259 | 78,260 | Guider.js highlight feature not work | <p>I use guider.js for create a user helo tour. Everything work but highlight feature. I seems to "guiders_highlight" css class set and z-index of element bigger than overlay but not work and that element still be under the overlay.
"guiders_highlight" use relative position property but overlay position is fixed. Is t... | javascript jquery | [3, 5] |
1,456,137 | 1,456,138 | is there any keyword 'capital' in javascript? | <p>I am calling a funtion named 'capital()' but it is not working and 'capita' is working.
is it a keyword in js or wht is this ?</p>
<p>here is the code see it, test it</p>
<pre><code><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://w... | javascript jquery | [3, 5] |
4,057,063 | 4,057,064 | Delete a table row with javascript / jquery | <p>This is not working. Firebug is not throwing any error though. </p>
<p>HTML: </p>
<pre><code><table>
<tr><td>BookA</td><td><a href="javascript:deleteRow($(this));" class="red">Delete</a></td></tr>
<tr><td>BookB</td><td>&l... | javascript jquery | [3, 5] |
2,853,848 | 2,853,849 | JQuery - Extend and Access Superclass | <p>Is there a way to access the super object when extending objects using $.extend?</p>
<p>I would like to extend an object, override a method, but call the overridden superclass method in the subclass method. </p>
| javascript jquery | [3, 5] |
982,521 | 982,522 | Android Java to light LED via Bluetooth on Arduino BT board with Amarino | <p>I'm currently working on a project now..
Requiring me to do a home automation bluetooth device.
The basic requirement for my project is to control in lighting the led on Arduino BT via Android app(created using Eclipse) from a phone.
However, i'm rather poor in programming. As i've not learned anything regarding Ja... | java android | [1, 4] |
1,899,854 | 1,899,855 | Android: Is there a way to execute JavaScript from my app? | <p>I was hoping to find something in the Android sdk similar to the <code>javax.script</code> package in Java; but haven't been able to find anything. Am I missing a way to execute JavaScript from my app?</p>
| javascript android | [3, 4] |
1,677,978 | 1,677,979 | Importing multiple HTML Pages into a single div on page load | <p>I am trying to import multiple HTML External pages into a single div.
Example: I am page1.HTML, page2.html and so on. I have this piece of JQuery:</p>
<pre><code><script type="text/javascript">
$(document).ready(function() {
$('.main').load('page1.html');
});
</script>
</code></pre>
<p>This works fine ... | javascript jquery | [3, 5] |
3,641,424 | 3,641,425 | Loading MySQL content dynamically to table through dropdown menu | <p>I have a following problem: I would want to load MySQL table content dynamically, without page refresh to table using dropdown menu.
I got it working with plain text with the help of this page: <a href="http://www.designing4u.de/2008/05/jquery-drop-down-loading-content-according-to-option/" rel="nofollow">http://ww... | php jquery | [2, 5] |
3,215,943 | 3,215,944 | Is there any way to insert a custom class in an existing inheritance tree? | <p>I’m working on an android application that currently has two Activities, A and B, that have some code in common, their options menu and some other code. To cut down on copying and pasting, I created a class called BaseActivity that extends Activity with the, and I then had A and B extend BaseActivity. At least tha... | java android | [1, 4] |
4,728,855 | 4,728,856 | What is the point of a = a;? Analysing the jQuery source | <p>From the jQuery <a href="http://code.jquery.com/jquery-1.7rc1.js" rel="nofollow">1.7rc1 source code</a> (lines 1822-24):</p>
<pre><code>if ( jQuery.isArray( name ) ) {
name = name;
}
</code></pre>
<p>What's the point of having <code>name = name</code>? Could the two <code>name</code>s be different?</p>
| javascript jquery | [3, 5] |
2,808,901 | 2,808,902 | javascript within php | <p>I am trying to do the following in jquery</p>
<pre><code><?php
echo "<script>";
echo "$(document).ready(function(){";
echo "$('#mainbody-wrapper').removeClass('mainbody-wrapper')";
echo ";";
echo "$('#mainbody-wrapper').addClass('newStyle')";
echo ";";
echo "contentHeight=$('.... | php jquery | [2, 5] |
2,077,762 | 2,077,763 | Unterminated String error while iterating | <p>This is my code :</p>
<pre><code><c:forEach items="${entry.value}" var="keyval">
var bdgroup= {
elem1: '${keyval.partno}',
elem2: '${keyval.location}',
elem3: '${keyval.village}',
elem4: '${keyval.id}'
};
exampleArray.push(bdgroup);
</c:forEach>
</code></pre>
<p>i am getting </p>
<p... | javascript jquery | [3, 5] |
866,968 | 866,969 | Can I manage the AlarmClock in Android from my application? | <p>I develop an application which must manage the Alarm Clock in Android. I specifically need to do the following:</p>
<ul>
<li>execute some code in my application when the user sets an alarm (also find out the time of the alarm at the moment of execution);</li>
<li>cancel an alarm when the user pushes a specific butt... | java android | [1, 4] |
1,505,726 | 1,505,727 | Displaying contents details via hover like stackoverflow with javascript | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1449574/jquery-show-hide-class-on-hover">JQuery Show hide class on hover</a> </p>
</blockquote>
<p>just like stackoverflow, when you hover on any tag it will load the description and details of that tag. Is ther... | javascript jquery | [3, 5] |
1,009,032 | 1,009,033 | How to hide iframe src | <p>I noticed that all the Facebook applications that running inside an iframe hiding their iframe SRC, instead of the real src there is a "javascript:""".
How can i do that? I want that my iframe will hide the original src</p>
<p>thanks!</p>
| javascript jquery asp.net | [3, 5, 9] |
1,638,774 | 1,638,775 | Solution for storage virtual coins in mobile application | <p>What is the best solution for storage of virtual coins in a mobile app?
Of course I can store locally on the device only, but this has many disadvantages I think.</p>
<p>For online solutions, how do you handle synching the coins when there is no connectivity?</p>
<p>Are there some services who do these things, or ... | android iphone | [4, 8] |
4,577,500 | 4,577,501 | Which Adapter subclass best suits implementing a ExpandableList with different element types? | <p>I am trying to implement something similar to the "add contact" list. This is my first time using the ExpandableList, and am not sure how to implement the adapter, since some of the items will be edit text fields, some will be expandable etc.</p>
<p>Adapters that I have looked at are SimpleExpandableListAdapter an... | java android | [1, 4] |
985,328 | 985,329 | How to use jQuery to prevent the space key from entering a space? | <p>I thought it would be a simple thing to hijack the space key when in a form input so that it would function like a hyphen. Generally jQuery makes stuff like this really simple.</p>
<p>The code I tried is this:</p>
<pre><code> $("#StreamUrl").keydown(function (e) {
if (e.keyCode == 32) return 109... | javascript jquery | [3, 5] |
5,347,898 | 5,347,899 | Need to implement a grid in android | <p>I need to implement a grid that will show the position of some physical objects. I want to interact with the objects: I want to be able to send commands or request their "health" status (the objects happen to be sensor nodes).
<br><br>The size of the grid is given by the user but is always square (<code>width=length... | java android | [1, 4] |
1,501,948 | 1,501,949 | Check if User has clicked "Ok" for "onbeforeunload event" | <p>I am checking when the user closes the browser window, if he says ok, how i do I trigger some action, like opening another window or saving a form. If he chooses "cancel", it should stay in the same page (which is working now). pls share some idea on how to approach this issue</p>
<p><a href="http://jsfiddle.net/sk... | javascript jquery | [3, 5] |
168,298 | 168,299 | How to find each next element with specific class name using jQuery? | <p>I have a html structure in my webpage as below :</p>
<pre><code><div class="group_name">Group A</div>
<div class="student_name">Studen 1</div>
<div class="student_name">Studen 2</div>
<div class="student_name">Studen 3</div>
<div class="group_name">Group B</... | php javascript jquery | [2, 3, 5] |
5,935,194 | 5,935,195 | JSON Object - how to get values | <p>I have the following </p>
<pre><code> JSONObect {"28":["Mugisha","Christian"]}
</code></pre>
<p>from a larger JSONArray that I need to be able to translate </p>
<pre><code> {"28":["Mugisha","Christian"]}
</code></pre>
<p>into an object which has</p>
<pre><code>int itemId;
String firstName;
String lastName;
</... | java android | [1, 4] |
368,928 | 368,929 | How to stop function reload(window.reload) on jquery or javascript? | <p>Source</p>
<pre><code>$(function reload(){
$.ajax({
.
.
.
window.setTimeout(reload, 3000);
});
});
</code></pre>
<p>This function reload ajax page on every 3 sec.</p>
<p>I want to make stop button(#stop).</p>
<pre><code>$('#stop').click(function){
//STOP FUNCTION
});
</code></pre>
<p>Plea... | javascript jquery | [3, 5] |
2,944,551 | 2,944,552 | stop two pieces of jquery from conflicting? | <p>hi i have two pieces of jquery code running alongside one another and the 2nd jquery is causing the 1st jquery to break (not work).</p>
<p>I am trying to use no conflict but i dont think im using this right. please can someone show me how to fix this, thanks.</p>
<p>jquery 1:</p>
<pre><code> <script type="t... | javascript jquery | [3, 5] |
4,023,508 | 4,023,509 | how to get empty row in DropDownList | <p>i have this citys in my database:</p>
<pre><code>city1
city2
city3
city4
</code></pre>
<p>i what to see this in my DropDownList:</p>
<pre><code>[empty]
city1
city2
city3
city4
</code></pre>
<p>this is my bind code:</p>
<pre><code>SQL = "select distinct City from MyTbl order by City";
dsClass = new DataSet();
ad... | c# asp.net | [0, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.