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 |
|---|---|---|---|---|---|
1,247,540 | 1,247,541 | jquery - Datatables row grouping - how to add row id per group | <p>How to add row id per group in datatable row grouping, below is my code</p>
<pre><code>oTable1 = $('#tblVisitPanelDetails').dataTable({
"bJQueryUI": true,
"bDestroy": true,
"bRetrieve": true,
"aaSorting": [[4, "desc"]]
}).rowGrouping({ bExpandableGrouping: tru... | jquery asp.net | [5, 9] |
2,887,650 | 2,887,651 | window.onpopstate for android? | <p>Im making a mobile optimised website that has fullscreen dialog windows that open when you 'click' certain elements on the page. These windows are actually just divs that are animated into position. </p>
<p>If the user presses the browser back button when one of these dialoge windows is open I want the dialoge box ... | javascript android | [3, 4] |
2,770,228 | 2,770,229 | Replacing Link Button and label with check boxes | <p><a href="http://stackoverflow.com/questions/4263489/need-help-with-repeater">This</a> is my repeater in GUI and code behind ..I need to replace the 'Make Default' linkbutton with a Check Box now. What I want to do is that When user Checks the checbox, the Default value is set to TRUE in DB , Also when a check box is... | c# asp.net | [0, 9] |
5,273,562 | 5,273,563 | How to get the http://www.blbah.com part of the url in javascript? | <p>My url on a page is like:</p>
<pre><code>http://www.example.com/dir1/file.html?a=1
</code></pre>
<p>I need to extract:</p>
<pre><code>http://www.example.com
</code></pre>
<p>how can I do this in javascript?</p>
| javascript jquery | [3, 5] |
2,934,664 | 2,934,665 | jQuery to Javascript code converting | <p>I have not a good Javascript knowledge, but I'm kinda good with jQuery though. I want to change some jQuery code to pure Javascript, but I have no idea how to do it.</p>
<pre><code>$(document).ready(function()
{
$('#block').one('click', function()
{
$(this).val('{L_SEND_CONFIRM}').removeClass('butto... | javascript jquery | [3, 5] |
4,172,732 | 4,172,733 | Changing input value using javascript | <p>I've been looking for a reason why this doesn't work, but I can't find one. In my asp.net application I create a a bunch of hidden inputs in c# and then try to modify them in javascript before I call them back to the server.</p>
<p>My c# code:</p>
<pre><code> hidden3 = new HtmlInputHidden();
hidden3.ID = "... | c# javascript asp.net | [0, 3, 9] |
1,305,937 | 1,305,938 | Checking username and password in Android | <p>I have a username and password field and now i need to check and redirect him to the next page in Android. </p>
<pre><code> public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final EditText loginText = (EditText) find... | java android | [1, 4] |
181,906 | 181,907 | ASP.Net dropdown control loses state after being set dynamically through javascript | <p>I have an asp.net dropdownlist control. There are two ways it can be selected.</p>
<p>The first is through a button that sets the value in the drop-down list via javascript.</p>
<p>The second is by manually selecting the dropdownlist option.</p>
<p>Each of these methods work by themselves.</p>
<p>If I do the fir... | asp.net javascript | [9, 3] |
103,530 | 103,531 | Javascript - how do I minimise this code example? | <p>a quick question. </p>
<p>At the moment I have 12 links on a page, and 12 corresponding javascript codes that run when a each button is clicked.</p>
<p>I know 100% there must be a method of having 1 javascript code and the link passing a variable to it, so I don't have to have 12 different codes. </p>
<p>EG. Her... | javascript jquery | [3, 5] |
5,408,622 | 5,408,623 | Get Value of ItemData in Repeater into Repeater | <p>I have a Repeater nested in another Repeater. For clarity, we'll refer to them as <code>ParentRepeater</code> and <code>ChildRepeater</code>. I need to get a value from <code>ParentRepeater</code> in <code>ChildRepeater</code>. How can I do this?</p>
| c# asp.net | [0, 9] |
4,964,079 | 4,964,080 | Getting JavaScript data arrays from webpage | <p>OK, so this webpage does things different. It uses text files and loads the data in JavaScript and then displays it in JavaScript. I tried using PHP methods but I can't get it.</p>
<p>How do I get the <code>S</code> array of player hiscores from <a href="http://queville.com/cgi-bin/forums/index.cgi?a=scores&b=O... | php javascript | [2, 3] |
1,393,901 | 1,393,902 | Why is the label not changing color using RegisterClientScriptBlock? | <p>I have an aspx page defined as follows:</p>
<pre><code><html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" language='javascript'>
function changecolor() {
var lbl = document.getElementById('lblDisplayDat... | c# asp.net javascript | [0, 9, 3] |
5,127,367 | 5,127,368 | jQuery Scroll Path? | <p>Im trying to make a simple scroll path using this plugin "http://joelb.me/scrollpath/" and all I want to do is make a simple line, without rotations, arcs etc only I cant seem to understand how this works, nor find a tutorial on the plugin!? </p>
<p>I want a path like...</p>
<pre><code> ____________... | javascript jquery | [3, 5] |
4,463,101 | 4,463,102 | Is the callback on jQuery's getScript() unreliable or am I doing something wrong? | <p>I'm using the following bit of script to load another one:</p>
<pre><code>$.getScript("CAGScript.js", function () {
try {
CAGinit();
} catch(err) {
console.log(err);
}
});
</code></pre>
<p>The idea is that $.getScript loads the script, then executes the callback when it's done. <code>CA... | javascript jquery | [3, 5] |
4,551,827 | 4,551,828 | URL String Get Directory | <p>I have a string that contains a URL:</p>
<pre><code>var url = "http://www.domain.com/Shared%20Documents/Test%20Plans/CC-12%20Test%20Plan.doc";
</code></pre>
<p>I am trying to get the url of the directory (ie remove the filename and keep the rest.)
I realize that this is probably pretty simple but I can't seem to f... | javascript jquery | [3, 5] |
5,308,333 | 5,308,334 | Receiving e-mail message | <p>How can I get the content of the last e-mail message in Android (theme and message body) if I know how to access contacts and get necessary e-mail address?</p>
| java android | [1, 4] |
3,767,898 | 3,767,899 | hebrew keyboard changes edittext gravity | <p>I have an <code>EditText</code> in which I am supposed to input text in hebrew language which goes RTL so the gravity is set to right but this works fine with english keyboard but for hebrew keyboard the gravity is again changed to left. how to solve this problem?</p>
<p>I want gravity to be right all the time.</p>... | java android | [1, 4] |
3,583,537 | 3,583,538 | jquery using this to access object context when inside callback | <p>Let us presume I have the following object defined:</p>
<pre><code>var myObj = function(){
this.hello = "Hello,";
}
myObj.prototype.sayHello = function(){
var persons = {"Jim", "Joe", "Doe","John"};
$.each(persons, function(i, person){
console.log(this.hello + person);
}
}
</code></pre>
<p... | javascript jquery | [3, 5] |
1,031,045 | 1,031,046 | Library to convert Java types to Python types in Python? | <p>I have an object in Python whose type is <code><class 'jpype._jclass.java.lang.Float'></code>, and I need to convert this to a float in Python. I tried <code>float()</code> but the compiler complains. Is there a library to do this conversion?</p>
| java python | [1, 7] |
2,964,752 | 2,964,753 | how to use wildcard characters to fetch sim contacts in android java | <p>I have used following query/code to fetch sim contacts in android</p>
<pre><code>Cursor cursor = ContentResolver.query(callUri,null,"name LIKE 'AN'%",null, null);
</code></pre>
<p>but this is not working instead fetching whole contacts. So please reply with that what query I should use to fetch and what the cloumn... | java android | [1, 4] |
1,523,301 | 1,523,302 | formview paging dependent on gridview using pageddatasource | <p>I am displaying a formview on click of a row in a gridview. I have used pageddatasource for formview paging but i don't know what to set for the currentpageindex of the formview. </p>
<pre><code> protected void FormView(string id)
{
try
{
GroupMasterClass gm = new GroupMasterClass();
gm.igro... | c# asp.net | [0, 9] |
4,069,013 | 4,069,014 | JavaScript Mobile Drag and Drop | <p>I was testing out an interface I built using jQuery UI draggable, droppable and sortable and noticed that the drag and drop doesn't work in the mobile browser. I suppose there is a different way in which events are fired in the mobile browser.</p>
<p>Are there any JavaScript frameworks yet, that support drag and d... | javascript jquery android | [3, 5, 4] |
2,308,147 | 2,308,148 | javascript code to php? | <p>How do I write the following javacript code in php:</p>
<pre><code>var ShareImageIdVar = location.href.match(/\d+/);
</code></pre>
<p>there is a number in the url that I want to store it in the variable <code>ShareImageIdVar</code>.</p>
<p>an example of a possible url:</p>
<pre><code>http://www.mysite.com/5.php
... | php javascript | [2, 3] |
1,405,768 | 1,405,769 | global.asax in asp.net | <p>how can we use global.asax in asp.net? and what is that?</p>
| c# asp.net | [0, 9] |
1,415,121 | 1,415,122 | Character limit of a javascript string variable | <p>Can JavaScript string store 100K characters?
I've written a script where a string from PHP is passed to a variable in JavaScript. It works fine when it is cut short to almost ten thousand characters but breaks the script when attempting to pass the entire string whose length is a bit greater than 100K. No errors co... | php javascript | [2, 3] |
5,265,530 | 5,265,531 | Function in current object cannot be called. Why? | <p>I have a function called <code>Validation</code> which contains three functions. Now when I want to call one other function from one function inside <code>Validation</code> i.e. on line 13. Then I get this error </p>
<pre><code>Uncaught TypeError: Object [object Object] has no method 'validateAddress'
</code></pre... | javascript jquery | [3, 5] |
756,961 | 756,962 | Checking if popup window is already open while browsing another page | <p>How to check that popup is already opened?</p>
<pre><code>var popup = null;
$('#menu').bind('click', function(e) {
if (popup == null || popup.closed )
popup = window.open (...);
});
</code></pre>
<p>The above JQuery code works when in the same page. When the user browse to another page with, still with... | javascript jquery | [3, 5] |
3,276,814 | 3,276,815 | How to map java's AffineTransform to android's Matrix? | <p>Suppose I initialize an AffineTransform as below:</p>
<p>AffineTransform af = new AffineTransform(2, 3, 4, 5, 6, 7);</p>
<p>How would I create an equivalent Matrix using android's sdk?</p>
| java android | [1, 4] |
5,511,330 | 5,511,331 | How to unpack Javascript in Python | <p>I would like to retrieve the contents of a javascript script instead of executing it upon requesting it. </p>
<p>EDIT: I understand that Python is not executing the javascript code. The issue is that when I request this online JS script it gets executed. I'm unable to retrieve the contents of the script. Maybe what... | javascript python | [3, 7] |
776,421 | 776,422 | javascript/jquery select all child elements inside a parent element | <p>I have a bunch of child elements that are uniquely identified within a parent div. I want to know if there's a way in jQuery (or javascript) to capture all of them? The number of children in the parent div is arbitrary, meaning it could be any number for each div. For example:</p>
<pre><code><div class="paren... | javascript jquery | [3, 5] |
2,870,018 | 2,870,019 | How to communicate with a car via Android smartphone? | <p>I want to start an app to be used by an Android smartphone to send information to a car. One example would be to unlock the car, but that is not precisly what I want to do is just an example. My question is, how can I communicate with the car? I am thinking of using a webservice, don't know if this would be adecuate... | java android | [1, 4] |
3,888,831 | 3,888,832 | why getEdgeFlags() always return 0 | <p>I want to detect the touch edge in onTouchEvent function for my view, but getEdgeFlags() always return 0 in my Nexus S 4.1.1, anyone can help me? thanks advance.</p>
<pre><code>@Override
public boolean onTouchEvent(MotionEvent event) {
int edgeFlags = event.getEdgeFlags();
//edgeFlags alway 0!
switch (... | java android | [1, 4] |
690,594 | 690,595 | How to convert milliseconds into a readable date? | <p>The following:</p>
<pre><code>new Date(1324339200000).toUTCString()
</code></pre>
<p>Outputs:</p>
<pre><code>"Tue, 20 Dec 2011 00:00:00 GMT"
</code></pre>
<p>I need it to return <code>Dec 20</code>. Is there a better method I can use besides <code>toUTCString()</code>? I am looking for any way to parse through m... | javascript jquery | [3, 5] |
5,828,437 | 5,828,438 | Deleting images with javascript function | <p>In a page, i am showing thumbs of images from a folder, with a link below them "Delete Image",
through this code:</p>
<pre><code>echo '<li> <a href="Gallery/'.$file.'" rel="lightbox['.$lightbox.']">';
echo '<div id="image" ><img src="Gallery/thumbs/'.$file.'" alt="" /><br>
<a href="... | php javascript | [2, 3] |
2,758,483 | 2,758,484 | Which universities/colleges teach Microsoft ASP.NET and other MS technologies? | <p>I saw "<a href="http://stackoverflow.com/questions/543223/which-universities-teach-python">Which universities teach Python?</a>", so I thought I would ask one about Microsoft technologies. Do you know of any schools that teach beginning to advanced Microsoft programming languages? </p>
| c# asp.net | [0, 9] |
4,013,946 | 4,013,947 | Previewing TIF documents on the Web (.Net C#) | <p>I am looking for a way to display TIF documents on a web page. It basically needs to render a Multi-page TIF in some form of container on a web page.</p>
<p>Do I need a control or is there a simple way to build something like this? Is there any free stuff that we could simply implement?</p>
<p>I have looked at the... | c# asp.net | [0, 9] |
4,328,955 | 4,328,956 | Load a external URL into a div using jquery | <p>I want to load a whole site into a div... When i use </p>
<pre><code>$(document).ready(function(){
$('#result').load('http://www.yahoo.com');
});
</code></pre>
<p>its not working...plz help</p>
| javascript jquery | [3, 5] |
3,328,751 | 3,328,752 | Making a DIV float between header and footer | <p>I have the below fairly simple java-script function on a webpage with a header, footer and a banner in between the header and footer right side of the body, to make the banner seem to be floating between the header and footer when users scroll the webpage.</p>
<pre><code> $(window).scroll(function()
{
... | javascript jquery | [3, 5] |
3,321,099 | 3,321,100 | Insert clob data or all types of file store in database | <p>I try to save All types of file in database , I try to save it in nclob in java
but I got following exception</p>
<p>Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OraclePreparedStatement.setNClob(ILjava/io/Reader;J)V</p>
<p>Please help me to sort out this problem. </p>
| java javascript | [1, 3] |
5,035,740 | 5,035,741 | What is the best way to dynamic load connection strings | <p>I've seen some other posts in this topic, but thought I would ask the qustion with a description on my problem.</p>
<p>I have a login page wich uses SQL provider for the user login. Then the user should be redirected to the main application. This is a web based CRM application wich we have muliple clients.</p>
<p>... | c# asp.net | [0, 9] |
5,160,675 | 5,160,676 | ASP.NET - Can I handle the "ASP.NET client-side validation has succeeded" event in javascript? | <p>I have a product page with an add to cart button</p>
<p>When the <strong>add to cart</strong> button is clicked, a couple of input fields are validated using ASP.NET validation controls (which use client-side validation to prevent the postback from occurring upon invalid input). </p>
<p>In order to prevent double... | javascript asp.net | [3, 9] |
1,868,688 | 1,868,689 | Is there a fast way to copy files to sdcard | <p>I have a function to copy a jpeg stored in assets to the sd card. It works, but very very slow. The averg file size is around 600k . Is there a better way to do this,
code:</p>
<pre><code>void SaveImage(String from, String to) throws IOException {
// opne file from asset
AssetManager assetManager = getAssets(... | java android | [1, 4] |
2,978,373 | 2,978,374 | How to get end time using jquery | <p><a href="http://jsbin.com/akuber/1/edit" rel="nofollow"><strong>Demo</strong></a> Here in jsbin demo i m getting start time but i dnt know any idea how to get end time.
how should i go further to get end time.
<strong>i dont want to change html.</strong>
i have to get end time using present html.
i m trying since... | javascript jquery | [3, 5] |
3,578,901 | 3,578,902 | Android request a url with out opening browser | <p>So I have an arduino with an Ethernet shield and I am currently controlling it using browser url commands eg "192.168.2.1/digital/2/1" (digital pin 2 goes high), i want to have an android button which requests that url without opening it in the browser.. is that possible and how would i do it?</p>
| java android | [1, 4] |
3,168,447 | 3,168,448 | Adding a javascript variable to html | <p>I need to add some JavaScript into my HTML.</p>
<p>I have a JavaScript variable. How can I add it to my HTML code?</p>
<pre><code><a href="index.php?something=MYJAVASCRIPT VARIABLE">
</code></pre>
<hr>
<p><strong>UPDATE:</strong> Tried this:</p>
<pre><code><a href="#" onclick="window.location.href = '... | javascript jquery | [3, 5] |
4,461,762 | 4,461,763 | How do I write the following code as a for loop? | <p>Firstly,
Is there a way for me to put variable declarations in a for loop?</p>
<p>E.g. the following:</p>
<pre><code>var origh1 = $('#candidates img:eq(0)').height();
var origh2 = $('#candidates img:eq(1)').height();
var origh3 = $('#candidates img:eq(2)').height();
var origh4 = $('#candidates img:eq(3)').h... | javascript jquery | [3, 5] |
4,331,725 | 4,331,726 | How to bind clicks on new data loaded with AJAX? -- JQuery | <p>I have a bunch of links with a 'Show more' Ajax request which loads more:</p>
<pre><code><a href="#" class="item">abc</a>
<a href="#" class="item">abc</a>
<a href="#" class="item">abc</a>
</code></pre>
<p>I have a binding function this that does something:</p>
<pre><code>$('.it... | javascript jquery | [3, 5] |
3,054,509 | 3,054,510 | Null Value in Label object | <p>I have created on GridView with Label. I have written store procedure to get StatusCode</p>
<pre><code>SELECT StatusCode
From TableName
</code></pre>
<p>This line in GridView</p>
<p>< asp:Label ID="lblStatusCode" runat="server" Visible="false" </p>
<p>Text='<%#DataBinder.Eval(Container.DataItem, "StatusCod... | c# asp.net | [0, 9] |
958,968 | 958,969 | jQuery and JavaScript | <p>Is it necessary to learn JavaScript before jQuery?</p>
| javascript jquery | [3, 5] |
74,649 | 74,650 | How to get onclick value in JS | <p>Let's say, that I have on my site something like this:</p>
<pre><code><a href="" onclick="lol(222)">
<a href="" onclick="lol(223)">
<a href="" onclick="lol(212)">
<a href="" onclick="lol(122)">
</code></pre>
<p>And then I would like to parse it to get in the <code>match</code> variable all ... | javascript jquery | [3, 5] |
5,122,266 | 5,122,267 | Remove divs after 20 using jQuery | <p>Divs of class=message are generated using a post which pulls data and puts it in the page. Now, I want to remove the lower divs after it reaches 20</p>
<pre><code><div class="message">test</div>
<div class="message">test</div>
<div class="message">test</div>
.
.
.
<div class="... | javascript jquery | [3, 5] |
804,166 | 804,167 | block user for sometime after insert a data from his ip | <p>I want to block a user for 5-10 minutes after he add some data to server....
It is just like for security...A user can not insert data more than 1 time for 5 to 10 minutes.
Or if I insert something then the javascript function which calls the inserting code will blocked for 5-10 minutes...</p>
<p>Thank in advance..... | php javascript | [2, 3] |
1,794,604 | 1,794,605 | Parse url from javascript popup in ASP.net | <p>I am developing web app using ASP.NET and i am also using javascript in the gridview header as TemplateField to open a window like this,</p>
<pre><code><a href="javascript:var popup = window.open('PopUp.aspx?+Value','Popup','width=200,height=200');
</code></pre>
<p>What I need to do in the "PopUp.aspx" code beh... | javascript asp.net | [3, 9] |
1,124,568 | 1,124,569 | Which method is the best for developing Excel sheet as ASP.NET web application? | <p>In my company, we have a big excel sheet that we use it as a data entry. This matrix is filled with the data by many employees. each employee is required to fill specfic cells in that data entry. Now, we want to automate this matrix by developing a web-based system that contains this matrix. I am new ASP.NET develop... | c# asp.net | [0, 9] |
1,180,163 | 1,180,164 | Javascript show layer on page load | <p>Getting an error when i use the following script to show a div when the page is loaded.</p>
<pre><code><script type="text/javascript">
$(document).ready(function() {
$("#friendslist").Show();
});
</script>
</code></pre>
<p>It says <code>$("#friendslist").Show()</code> is not a function</p>
| javascript jquery | [3, 5] |
4,219,537 | 4,219,538 | Javascript Math Round | <p>im getting a little issue here. Im trying to do a simple math, but im forgetting something.</p>
<p>Here's what:</p>
<pre><code>var valorOriginal = 9.90;
var discount = Math.round(valorOriginal*12*0.25);
var anual = Math.round(valorOriginal*12)-discount;
alert(anual);
</code></pre>
<p>If you do this math on calc... | javascript jquery | [3, 5] |
157,572 | 157,573 | PHP and Python interfacing | <p>I have a Python application (command line tool running on a machine M1) that has input I1 and output O2. Also, I have a PHP application (website running on a machine M2) that feeds the Python application with input I1 and expects to read the output O1. My question is what's the best approach to solve this problem? (... | php python | [2, 7] |
5,895,545 | 5,895,546 | jquery preloading multiple images | <p>I managed to do preloding of 1 image like this:</p>
<pre><code>var img = new Image();
$(img).load(function () {
//do something after
}).attr('src', response.image1);
</code></pre>
<p>How can I make the same for multiple pictures. Let's assume that my response is a json object which has several image sources.
... | javascript jquery | [3, 5] |
3,126,444 | 3,126,445 | jQuery/Javascript - reload current page with an appended querystring? | <p>I've got a dropdown menu on my form, which when something is selected I need to reload the current page, but with an appended querystring.</p>
<p>How would I go about doing this?</p>
| javascript jquery | [3, 5] |
161,585 | 161,586 | add second onclick to Listview | <p>I want to add a second <code>on click</code> to a ListViewItem.
I already created the View (ImageView) and i set the on Click. The function gets called.
But: How can i get the Informations of this ListViewItem? It would be enough to get the Position in the ListView?</p>
<p>The ImageView:</p>
<pre><code><ImageV... | java android | [1, 4] |
1,295,392 | 1,295,393 | Display changing without AJAX | <p>I have 2 drop down lists , and value of the second drop down list should change according to the value selected in first drop down list. The current drop down lists are.</p>
<pre><code><select name="first">
<option name="a" value="a">a</option>
<option name="b" value="b">b<... | php javascript | [2, 3] |
3,747,010 | 3,747,011 | Access a databound variable in regular inline expression | <p>I'm trying to access a databound variable within a regular C# inline expression.</p>
<p>I was hoping there was some way I could access it using the <code>Eval()</code> command, but you cannot use it inside a regular inline code block. (What I mean by that, is the <code><% %></code> tag).</p>
<p><strong>NOTE<... | c# asp.net | [0, 9] |
4,351,600 | 4,351,601 | What does the Request object do in the following scenario? | <p>If I see something like:</p>
<pre><code>if(Request["Email"])
{
}
</code></pre>
<p>What does this actually mean? Where is the Email collection member actually being set?</p>
| c# asp.net | [0, 9] |
5,109,553 | 5,109,554 | Handel checkbox's checkd/unckhecked events in javascript | <p>I have a textbox which is read-only. It is used to take input of date from the javascript date picker. Other thing is I have gridview which contains checkbox inside item template. Now what I want is when user clicks on any of the check box in grid, the corresponding date should be filled in the date textbox or when ... | javascript asp.net | [3, 9] |
4,801,119 | 4,801,120 | Padding on Shape in Progressbar | <p>I'm using xml file to define progress bar.
I defined padding on background shape. But this setting will be sometimes displayed correctly, sometimes not.
So If I start my application or Activity with progressbar inside, there will be correctly displayed progressbar with background and 'padded' progress. Then I close ... | java android | [1, 4] |
1,894,377 | 1,894,378 | jQuery double object constructor | <p>Assume you have the following code:</p>
<pre><code>function name() {
$(this).css('background', 'red');
}
$('selector1').click(name);
$('selector2').click(function () {
name.call($(this).parent());
});
</code></pre>
<p>Now, when the function is called by clicking on 'selector1' <code>this</code> is an HTM... | javascript jquery | [3, 5] |
5,367,880 | 5,367,881 | Recentering divs on window resize gets me "Uncaught TypeErrors" | <p>I have got a modal window set-up on my page that works fine, but needs repositioning on window resize in order to stay centred. Unfortunately, I simply get the error:</p>
<blockquote>
<p>Uncaught TypeError: Object # has no method 'outerHeight'</p>
</blockquote>
<p>Am I using "this" incorrectly?</p>
<pre><code> ... | javascript jquery | [3, 5] |
4,347,373 | 4,347,374 | How do I prevent the error: System.FormatException: Input string was not in a correct format | <p>My code works just fine as long as the database returns a result set. When it returns nothing it breaks and gives me the following error:</p>
<pre><code>System.FormatException: Input string was not in a correct format.
</code></pre>
<p>Here is my code:</p>
<pre><code>DataTable data = GeneralFunctions.GetData( qu... | c# asp.net | [0, 9] |
3,522,875 | 3,522,876 | thumbnail photo selector with javascript/jquery | <p>I want to create something like the screenshot below. The big image on top will be the main display, and when you click on bottom thumbnails the big image on top will change to the thumbnail image.</p>
<p>ps ignore the "back to the top" text.</p>
<p>is there an easy way to do this with javascipt/jquery?</p>
<p><... | javascript jquery | [3, 5] |
4,525,120 | 4,525,121 | Is this a bug in ASP.NET 3.5? | <p>In ASP.NET when I try to add a dynamic control (includes validation) to <code>Placeholder</code> or any other control container, the name of control become an important. For example, this is very normal, easy control adding code.</p>
<pre><code>var control = LoadControl("TestUserControl.ascx");
control.ID = Guid.Ne... | c# asp.net | [0, 9] |
476,425 | 476,426 | who can give me explain it about javascript? | <p>javascript:delete_reply_notify('14557174');void(0)</p>
<p>it make javascript delete one row which id = 1455174</p>
<p>but ,why is void(0)? what's mean ?</p>
| jquery javascript | [5, 3] |
4,847,375 | 4,847,376 | How to upload multiple file in php | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3078124/how-to-upload-multiple-files-in-php">How to upload multiple files in PHP</a> </p>
</blockquote>
<p>How to upload multiple file in php just like multiple attachment in ant gmail or yahoo.
in my applicatio... | php javascript jquery | [2, 3, 5] |
2,059,423 | 2,059,424 | android countdown timer continues to run in background | <p>I want to make a 30 second countdown to run in my activity and continue to run until it hits 0. Is there any method? </p>
<p>Basically I want it to run and update its value in a textview.</p>
| java android | [1, 4] |
3,956,950 | 3,956,951 | Let user review a file before uploading it | <p>I am programming a control to allow the users of our intranet to upload multiple files into our system, but with some added functionality.</p>
<p>Imagine you as a user are uploading N files, when you add N files the intranet presents you a list like this:</p>
<p>File_name_1 ..... [View] [Remove] [Upload]<br>
File_... | asp.net javascript | [9, 3] |
3,246,550 | 3,246,551 | How do I find a control I placed inside a panel? | <p>I have a button inside a Panel. I'm trying to find the id of the button, but my code doesn't work:</p>
<pre><code>protected void pnl_nocutomer_Load(object sender, EventArgs e)
{
Button btn;
btn = this.FindControl("btn_clear") as Button;
Page.LoadComplete += new EventHandler(Page_LoadComplete);
stri... | c# asp.net | [0, 9] |
6,019,836 | 6,019,837 | How to clear GPS cache from my device programatically? | <p>I have the following task: when AlarmManager generates the event the application must define location and send the coordinates to my letter; after it LocationManager deletes this location listener(I do it in callback method of listener - manager.removeUpdates(this)). All works except location defining. I have follow... | java android | [1, 4] |
3,913,033 | 3,913,034 | setting a class to a menu depending of the url link | <p>Here is my scenario, my sub pages are not recognizing the parent, probably cause I set the structure bad, however going to back to fix that is not an option for now, problem the menu parent is getting the parent class in the wrong places....</p>
<p>So what I need to achieve...</p>
<p>if I have this url structure: ... | javascript jquery | [3, 5] |
5,058,693 | 5,058,694 | Conversion calculation from string do double | <p>i'm working in android and I need your help. In <strong>string</strong> in <strong>values</strong> I have this</p>
<pre><code><item>(1 / 1024)</item>
</code></pre>
<p>I need to parse this string to double this way</p>
<pre><code>outputDouble = Double.parseDouble(unitsValues[outputPosition]);
</code></... | java android | [1, 4] |
41,995 | 41,996 | Progress dialog not showing in AsyncTask | <p>I have a huge array of Strings which I'm trying to insert into the sqlite DB. Due to this, I am using the <a href="http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#beginTransaction%28%29" rel="nofollow">begintransaction idiom</a> in my <code>doInBackground</code>, which works perfec... | java android | [1, 4] |
5,241,617 | 5,241,618 | Call a javascript function after 5 sec of last key press | <p>I have a form with an <code><input type=text /></code> and I want to call a javascript function after 5 seconds of the last key press, and every time a new key is pressed, this timer should reset and only call the function after 5 seconds.</p>
<p>How can I do this?</p>
<p>I'm using jQuery.</p>
<p>thanks!</p... | javascript jquery | [3, 5] |
493,857 | 493,858 | How to write optional parameter in $.getJSON | <p>I used $.getJSON to retrieve the data from my database. If the parameter dID is not null, then there is one parameter like : </p>
<pre><code>$.getJSON(urlGetProByDep, { depID: dID }, function (data) {
//blah blah blah
});
</code></pre>
<p>But if both dID and cID are not null so the function ... | javascript jquery | [3, 5] |
918,987 | 918,988 | Change text based on select box value | <p>Full Disclosure: I am bad at javascript.</p>
<p>I'm trying to write something that takes the value of a select box (in this case, it contains a list of themes the user can choose from), compares it against an array containing all the themes allowed, and display a preview link to the user.</p>
<p>Below is some sele... | javascript jquery | [3, 5] |
798,914 | 798,915 | How do I increase a counter by dragging a page element and moving the mouse right or left with JQuery? | <p>I need to do something like the Apple <a href="http://www.apple.com/iphone/gallery/" rel="nofollow">website gallery</a> (the 360° iPhone view).
So I need to increase or decrease a counter according to the mouse movement after the onclick event (dragging) so I'll be able to load the right image (ending with an increm... | javascript jquery | [3, 5] |
3,873,502 | 3,873,503 | Jquery accordion with repeater, row details are not visible when activating row | <p>I am trying to use the jquery accordion with a repeater. I used the sample directly from the jquery documentation. When I click on the section links, the details open and expand, but you can't see any of the text. The html output looks right to me, not sure where this is going wrong. </p>
<pre><code><script>
... | c# jquery | [0, 5] |
4,352,098 | 4,352,099 | on focus not working in asp textbox | <p>On entering rate and quantity I want the total amount to be calculated automatically, so I tried the following.</p>
<pre><code>function getAmt()
{
if(isNaN(document.getElementById('<%=TxtRate.ClientID%>').value))
{
alert("Illegal Rate Entered, Please Check It Out.");
document.getEle... | javascript asp.net | [3, 9] |
3,530,200 | 3,530,201 | Is there any good library for Audio or Sound files comparison in Java / Android? | <p><strong>I need to check two sound files are identical or not identical in android.</strong>
I got confused between different libraries in Java.
So please anyone suggest me good lib.</p>
<p>Thanks in advance. </p>
| java android | [1, 4] |
453,847 | 453,848 | Can we integrate napster in a .net website? | <p>Can we integrate napster in a .net website? If so please suggest any documentation to refer to.
Thanks.</p>
| c# asp.net | [0, 9] |
2,394,300 | 2,394,301 | Alert input "file" filename using jQuery with "split" | <p>I'm trying to alert the filename from a upload input.</p>
<p>Here's my <a href="http://jsfiddle.net/xwdct/" rel="nofollow">fiddle</a></p>
<p>It works, but there's the "C:Fakepath..." something like that.
I just want the filename, without the Fake path. I tried using the <code>split</code> function, but I'm not sur... | javascript jquery | [3, 5] |
3,319,600 | 3,319,601 | Loop through string of dropdown options and select | <p>I want to select an option in a string, where the string will be the contents of a dropdown, but I dont know how to loop through the string as an object please.
In the example I would like "Saab" to be selected and the string alerted.</p>
<pre><code>var x = '<select><option>Volvo</option> <op... | javascript jquery | [3, 5] |
1,363,039 | 1,363,040 | C# dealing with objects | <p>so im using this library for C#, im a php developer, and when i get a list of users by using the following: <a href="http://help.globalscape.com/help/eft5_com/Retrieving_a_list_of_users.htm" rel="nofollow">http://help.globalscape.com/help/eft5_com/Retrieving_a_list_of_users.htm</a></p>
<p>I get an object, now in ph... | c# php | [0, 2] |
1,067,050 | 1,067,051 | localization in asp.net-HTML controls | <p>In my application i need different culture for HTML controls.
is it possible through the .resx file or is there anyother methods.</p>
<pre><code> <ul>
<li><a href="..">Home</a></li>
<li><a href="#">Admin</a></li>
<li><a href="#">View List&l... | c# javascript jquery asp.net | [0, 3, 5, 9] |
4,977,454 | 4,977,455 | Javascript executed twice? | <p>I have default js file that i load in every page. There is simple jquery <code>jQuery(document).ready(function($){
...
});</code> in which i places rest of my code.</p>
<p>However, when i try to execute some alert or console.log code that is in the center of page, i get it executed twice. And in console i see this:... | javascript jquery | [3, 5] |
4,089,317 | 4,089,318 | Basics of inertia in JavaScript | <p>I am looking to produce a draggable element with inertia when you move it. I am pretty new to JavaScript, looking for the basics of doing it. I would like to use a library like jquery ui for the drag n drop functionality then add inertia, I have done some as3 inertia but am wondering where to begin with JavaScript.<... | javascript jquery | [3, 5] |
5,839,349 | 5,839,350 | How to get specific item in Item template of Asp Grid view by using Jquery? | <p>How can I get effect on specific row of grid veiw</p>
<pre><code><asp:GridView ID="gvSearch" runat="server" DataKeyNames="guidId" >
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class="test1"> "test paragraph"
<img src="../Ima... | c# jquery | [0, 5] |
25,827 | 25,828 | Downloading progress in AsyncTask android | <p>I am trying to create downloading progress. I have my class which extends AsyncTask:
<strong>public class DownloadFileTask extends AsyncTask</strong></p>
<p>When downloading starts i want to create progress:</p>
<pre><code> @Override
protected void onPreExecute() {
progressDialog = new ProgressDialog(what... | java android | [1, 4] |
911,950 | 911,951 | How do I attach jQuery .live() to this snippet of code? | <p>I'm using a plugin called cloud zoom. the problem is, it attaches itself to anything with <code>class="cloud-zoom"</code> when the DOM is ready. My problem is I don't attach that class to DOM elements at render time. It is appended dynamically. So I need somehow to mix .live() with it to make it work:</p>
<pre><cod... | javascript jquery | [3, 5] |
409,282 | 409,283 | How to send image dat over network as fast ? | <p>I am working with client-server using Java. Client is performs on android and wants to request some images from server. And the server will response image as byte[] data to client. The approximate size of data is 150K per/request (already re-size). And the process usually use 3 seconds for response. I think it use l... | java android | [1, 4] |
1,270,292 | 1,270,293 | populate ASP.NET dropdownlist using javascript | <p>how can I populate an ASP.NET dropdownlist using javascript?
also how can I clear all dropdownlist items?</p>
<p>thanks</p>
| javascript asp.net | [3, 9] |
5,290,887 | 5,290,888 | How to remove all occurence of a character when losing focus of a textbox? | <p>I need to create in jquery a function that once a user tabs out of a control or finishes typing in the textbos, removes the # character from the field,</p>
<pre><code> $('[id$=txtClient]').keyup(function (){
}
</code></pre>
<p>First I dont know how to remove it, and should I do it in the keyup? or in another even... | javascript jquery | [3, 5] |
5,499,255 | 5,499,256 | How does jQuery have the $ object constructor and the methods associated with the $? | <p>How is it that jQuery can do <code>$("#foo").addClass("bar")</code> and <code>$.ajax()</code>?</p>
<p>I'm creating a micro javascript framework and want to create a new instance of an object, such as <code>$("#hello")</code>. With this object there are associated methods, such as <code>addClass</code>, <code>css</c... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.