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 |
|---|---|---|---|---|---|
4,231,817 | 4,231,818 | Display url in text box | <p>I have a textbox as follows:</p>
<pre><code><asp:TextBox runat="server" ID="txtOtherApps" Height="400" Width="400"
TextMode="MultiLine" ontextchanged="txtOtherApps_TextChanged" ></asp:TextBox>
</code></pre>
<p>How to display link in this textbox?</p>
| c# asp.net | [0, 9] |
4,636,686 | 4,636,687 | Bugs with "Pop Images like Google Images" post made earlier | <p>Please check this post:</p>
<p><a href="http://stackoverflow.com/questions/7411393/pop-images-like-google-images#answer-7412302">Pop Images like Google Images</a></p>
<p>I was working with the codes in this post by "Roko", but I am getting a bug in the same. When you arrange the code to display your gallery, all t... | php jquery | [2, 5] |
608,517 | 608,518 | How to set the width of a column using jquery? | <p>How can i set the width of a table column using jquery. The code provided below is not working. Please help.</p>
<pre><code> function addColumn(column)
{
var iHtml;
iHtml = "<tr><td width="30%"><input type='checkbox'> " + column + '</td><td><input type="text" id="aln' +... | jquery asp.net | [5, 9] |
3,416,943 | 3,416,944 | set a div image on another div image asp.net | <p>Would it be possible to set a div image over another div image in asp.net?</p>
<p>For example: after having an image A, the user chooses an image B with location 10, 10 then the image B will be placed at location 10, 10 on the image A (not merging). </p>
<p>Or it is required to use jQuery?</p>
<p>Thanks in advanc... | jquery asp.net | [5, 9] |
3,393,592 | 3,393,593 | Using attr on elements created with javascript | <p>If I create a new DOM element with Javascript <code>document.createElement</code>, is there a way to use jquery function attr() to change the element's attribute?</p>
| javascript jquery | [3, 5] |
4,426,331 | 4,426,332 | How to find if all animations have completed | <p>I am trying to create a jquery login box and I want to show one form, only if all other animations are complete.</p>
<p>I understand I can do multiple <code>.is(':animated')</code> checks, but I was wondering, is there a way to select all animated objects and the check if I have selected exactly zero elements?</p>
| javascript jquery | [3, 5] |
4,518,286 | 4,518,287 | How to get path to file using some external file managers apps Android? | <p>Is it possible to get File from sd card, which is picked using some 3rd apps (file manager) ?</p>
<p>I mean that i have activity with button open file and when user press open it shows him suggestions to use some other app to open file, and when he pick open i get back to my activity with path of that file ?</p>
| java android | [1, 4] |
4,512,653 | 4,512,654 | Android Application Development - Problems with camera application | <p>I'm developing a simple application designed to make use of the Camera API and take a photo and then save it. I'm receiving some strange errors at Runtime and get the text "Unfortunately, CameraDemo has stopped."</p>
<p>I got the code from this tutorial: <a href="http://marakana.com/forums/android/examples/39.html"... | java android | [1, 4] |
502,222 | 502,223 | jQuery: html() not available in event? | <p>Newbie question:</p>
<p>I have a web page with a single p element. I thought I could access the p.html() inside an event, but can't. Is there a way to access the element inside the event as a jQuery element?</p>
<pre><code><script src="Scripts/jquery-1.8.2.js"></script>
$(function () {
... | javascript jquery | [3, 5] |
4,451,376 | 4,451,377 | Use form field value as reference to JavaScript variable | <p>I'm trying to use an HTML form field's value to define what variable I use in a JavaScript function. I have a solution but I think there's a more elegant way to do it.</p>
<p>I have two arrays of names, male and female, and my HTML form has a set of two radio buttons for male and female. On submit, I do this:</p>
... | javascript jquery | [3, 5] |
17,785 | 17,786 | Android 2.3+ problems with RTSP playback | <p>Currently I working on radio application for Android platform. Everything is working correctly but on Android 2.3+ I cannot play rtsp stream.</p>
<p>I've found that theres is a bug in Android 2.3+ with that: <a href="http://code.google.com/p/android/issues/detail?id=13715" rel="nofollow">http://code.google.com/p/an... | java android | [1, 4] |
260,087 | 260,088 | jQuery filter and html return strange result | <p>Why the following code not work as expected? (Select all elements before the div with class = clear?)</p>
<p><strong>HTML:</strong></p>
<pre><code><div id="text">
line0
<div>line1</div>
<div>line2</div>
<div class="clear" />
<div>dummy</... | javascript jquery | [3, 5] |
5,087,219 | 5,087,220 | Making use of C++ to speed up PHP | <p>I saw this post on Sitepoint quoting a statement by Rasmus Lerdorf which goes (according to Sitepoint) as follows:</p>
<blockquote>
<p>How can you make PHP fast? Well, you can’t" was his quick answer. PHP is simply not fast enough to scale to Yahoo levels. PHP was never meant for those sorts of tasks. "Any script... | php c++ | [2, 6] |
2,981,127 | 2,981,128 | jQuery grep with two arrays? | <p>Is it my syntax, or is what I'm trying to do just completely the wrong way of going about this? </p>
<p>I have two arrays that are populated by whatever attributes the user selects. Then I'm trying to use $.grep() on a json file to select pillows that match their search. So in the example below, I'm trying to find ... | javascript jquery | [3, 5] |
2,299,351 | 2,299,352 | Errors attempting to publish a project from Visual Studio Express 2008 | <p>I am attempting to publish an application to a local intranet site, and am getting the following errors:-</p>
<pre><code>Unable to add 'ControlPanel.aspx' to the Web site. 550 ControlPanel.aspx: Access is denied.
Unable to add 'Default.aspx' to the Web site. 550 Default.aspx: Access is denied.
.
.
.
Unable to a... | c# asp.net | [0, 9] |
4,987,483 | 4,987,484 | call jquery fom php script | <pre><code><script type="text/javascript">
<!--//
// on DOM ready
$(document).ready(function (){
$("#current_rev").html("v"+$.jnotify.version);
$("a.example").bind("click", function (e){
// prevent default behavior
e.preventDefault();
var $ex = $... | php jquery | [2, 5] |
2,583,427 | 2,583,428 | make jquery progress bar on top of article | <p><a href="http://www.newrepublic.com/article/112477/walter-kirns-oscars-misadventure" rel="nofollow">http://www.newrepublic.com/article/112477/walter-kirns-oscars-misadventure</a></p>
<p>New republic have a really cool bar that fills up as you're scrolling an article.</p>
<p>I know how to add classes like -</p>
<p... | javascript jquery | [3, 5] |
2,212,021 | 2,212,022 | Android Application that makes HTTP calls in multiple Activities does not return data correctly | <p>The app makes calls (utilizing HttpPost) to a PHP files that sends a queries to a MySQL database. The PHP file parses the data into a Java-friendly string statement that can easily be converted to a <code>String[]</code> array (<code>String[] str = data_from_php.split(",");</code>); so the data id formatted like so:... | java android | [1, 4] |
4,795,036 | 4,795,037 | How can I figure out where Javascript is changing my focus | <p>I am currently working on an ASP.Net project that has a large number of js files, most from third party sources. On a number of pages, the focus is being set to a control other than the one I'm setting it to in code-behind (Control.Focus()). How can I figure out how, why, and where the focus is being changed?</p>
<... | javascript asp.net | [3, 9] |
540,417 | 540,418 | Find if some of the element's attributes contains specific value | <p>I was thinking if there is a way to find if element's attribute contains a specified value. The attribute is unknown. If I have this HTML:</p>
<pre><code> <input class="first" type="checkbox" data="THE-VALUE" />
<input class="second" type="checkbox" />
<input class="third" type="checkbox" ... | javascript jquery | [3, 5] |
1,353,981 | 1,353,982 | Calling javascript functions from webview Android | <p>I have a webview and it is loaded with a html file.</p>
<p>Now that I want to call the Javascript function DataInput() from the webview.</p>
<p>Here is my code.But the console returns </p>
<pre><code>E/Web Console(435): Uncaught ReferenceError: DataInput is not defined:1
</code></pre>
<p>Does anybody know why? T... | javascript android | [3, 4] |
1,791,212 | 1,791,213 | swap two panels in web application | <p>i have 2 panels & i want to swap those 2 panels. how can i do that in web application..?</p>
| c# asp.net | [0, 9] |
1,603,019 | 1,603,020 | for loop inside jquery-ajax function in php | <p>I am doing a rating application in php,here I want to write a for loop inside a jQuery ajax function call.I dont know how the correct syntax.</p>
<p>PHP code I used is</p>
<pre><code>for(i=1;i<=4;i++)
{
<div class="like">
<a href="#" class="like" id="1" name="up"><img src="images/likebig.png">... | php jquery | [2, 5] |
4,646,226 | 4,646,227 | How to check if a certain html fragment is already loaded? | <p>Have the following code:</p>
<pre><code> $("#blogs").mouseover(
function () {
$(this).addClass("hover");
$("#home").removeClass("hover");
$("#homepages").removeClass("hover");
$("#apps").removeClass("hover");
$("#facebook").removeClass("hover");
$("#kontakt").removeClass("ho... | javascript jquery | [3, 5] |
3,664,293 | 3,664,294 | Getting the text of all inputs in a form using jquery | <p>I am trying to consolidate all inputs on my form into one string, but my code just overwrites the var on each loop leaving me with only the text from the last input on the form... How can I fix this?</p>
<pre><code>$(':input').each(function() {
var output = $(this).val();
$('#output').html(output);
});
</co... | javascript jquery | [3, 5] |
4,336,432 | 4,336,433 | Wrapping some part of html using jQuery | <p>I've something like:</p>
<pre><code><div class="the_notice">
<span class="time"> | 3:48pm</span>
To <strong>2013-03-16_10-56-33</strong> By <strong>XYX</strong>
</div>
</code></pre>
<p>In a result I want something like:</p>
<pre><code><div class="the_noti... | javascript jquery | [3, 5] |
5,557,937 | 5,557,938 | Assign function to variable and pass parameter | <p>I guess this is probably an easy problem, but I cannot figure it out myself (using the wrong search criteria?).</p>
<p>As the title says, I want to assign a function to a variable and pass a variable to that function like this:</p>
<pre><code>function doStuff(control) {
var myObj = {
"smooth": false,
... | javascript jquery | [3, 5] |
5,517,037 | 5,517,038 | Select not Selected | <p>I have a form with 4 dropdowns on it. The default selected option in all the dropdowns is "Please Select". I want to use Jquery to make sure all dropdowns have a value before the page is submitted, but my code only works on the first one. Does anyone have a way that I can check all of the dropdowns at once?</p>
<pr... | javascript jquery | [3, 5] |
1,839,543 | 1,839,544 | Page session in php, I want to store the time spent by the user on a particular page...? | <p>Can any one help in storing the time spent by user on a particular page...
This is what I did...
It seams to work but i don't know my my php page is unable to get the data and store in database...
individually while I am calling StoreTime.php?time=23 it is getting the time value and storing the data...</p>
<pre><co... | php javascript jquery | [2, 3, 5] |
1,867,560 | 1,867,561 | How does downloading game updates works? | <p>Let's say I published a game and after some point of time I wanted to release an all new feature for the game. Of course the app must be able recognize and download the update. How does this work specifically with Google Play apps? Does the app download the entire new version of APK from the market and reinstalls it... | java android | [1, 4] |
3,525,576 | 3,525,577 | jquery iframe scroll | <p>I have an iframe in my page and i want to create a button that when i press it the page in the iframe scrolls down... </p>
<p>Can anyone help?</p>
| javascript jquery | [3, 5] |
2,049,392 | 2,049,393 | client validation of user control without postback | <p>I have a page with two user controls inside two different ajax updatepanels. One control has textboxes and other control has a button. I have set same validation group to both user control's control's. When I hit the button, client validation fires but there is a potback after validation fires.</p>
<p>I have set va... | c# asp.net | [0, 9] |
5,455,427 | 5,455,428 | Non-smooth div animation in Firefox | <p>Referring to <a href="http://jsfiddle.net/25EsV/" rel="nofollow">this fiddle</a>. This animation is quite smooth on Chrome and IE (v9), however it is very choppy on Firefox. The whole idea is to animate the border without moving the div itself (referring back to <a href="http://stackoverflow.com/questions/6313847/... | javascript jquery | [3, 5] |
1,419,260 | 1,419,261 | Is there any alternative to jQuery .after() function | <p>I am trying to convert my jQuery script into javascript. I have a problem there..</p>
<p>I have a script that creates a node </p>
<pre><code>var new_node = document.createElement("div");
new_node.className="tooltip";
new_node.innerHTML = html;
alert(new_node.className);
</code></pre>
<p>When i d... | javascript jquery | [3, 5] |
1,858,883 | 1,858,884 | Android Toast.makeText() not showing up | <p>When the user presses a button, I'd like a small <code>Toast.makeText()</code> message show up saying something like <code>Contacting server...</code> while the app gets some information from my web server.</p>
<p>The problem is that Java's HttpClient.Execute() method is synchronous, so it blocks the Toast from sho... | java android | [1, 4] |
5,411,538 | 5,411,539 | Check if all checkbox is selected == false in asp.net | <pre><code>foreach(Listitem item in CheckboxList1.Items)
{
if(item.Selected == true)
{
return true;
}
}
return false;
</code></pre>
<p>Is there a better way to check if all checkbox selected is false?</p>
| c# asp.net | [0, 9] |
1,792,789 | 1,792,790 | Narrow down the search result when I start typing | <p>I am looking for Idea here.. I will try coding with your idea and let you know if I ve any issues..</p>
<h2>Issue</h2>
<p>I ve one text box and list of names in the page. When I start typing , I want search result should narrow down. Eg. When I type 'a' in the text box, the results should narrow down and it should... | javascript jquery | [3, 5] |
1,489,804 | 1,489,805 | export as image not working | <p>I am trying to export a chart as image, here is the code</p>
<pre><code>var safedata = '<button id="safedata" type="button" style="margin-left:83.9%; margin-top:-16.4%; width:4%;position: fixed;">Image</button>';
$('#placeholder').append(safedata);
$('#safedata').click(function(){
self.s... | javascript jquery | [3, 5] |
108,591 | 108,592 | How can I force text to be vertically centered when the TextView is narrow? | <p>I'm currently using <code>setGravity(Gravity.CENTER_VERTICAL)</code> and this works well when the TextView is tall enough. However, if the TextView is narrow, then only the bottom of the text is clipped; I want the text to be clipped <em>equally</em> from above and below.</p>
| java android | [1, 4] |
1,115,115 | 1,115,116 | jquery getting child element values | <p>This is a dumb question, but im stuck. Why does my first one work but not the other 3. From reading the docs, all 4 should do the job. I want to in a bigger use case get an element of a form, there could be other elements on the same page with same name inside other forms or in other divs, so the 4th option is what ... | javascript jquery | [3, 5] |
2,185,376 | 2,185,377 | Converting a popup window uploader to an inline script using jQuery? | <p>I have a few buttons in my script that call window.open('myUploadScript.php?arguments=test...',''). </p>
<p>I'm passing querystring parameters in the arguments() for the target file myUploadScript.php to process.</p>
<p>I'd like to call this script without opening it in a popup. Can I use jQuery for this without h... | php jquery | [2, 5] |
1,974,739 | 1,974,740 | Not catching SelectedIndexChanged | <p>I have dropdownlist in a GridView (Actually have a bunch) but I am only concerned about one of them. I need to capture when the user makes a new selection to see if they want to add a item into the dropdownlist. Here is my code ..</p>
<p>This never gets called:</p>
<pre><code> protected void DebtorDropDownList_S... | c# asp.net | [0, 9] |
2,836,651 | 2,836,652 | Developing Android Apps with PHP? | <p>I'm looking for a way (platform perhaps) that would let me run my PHP based <br>
application on the Android (with actually being production-ready).</p>
<p>Is there such a thing?</p>
| php android | [2, 4] |
3,870,344 | 3,870,345 | How can i pass a parrameter from Asp to jquery? | <p>i have a Listview with dynamics rows that read them from database.
now i want when mouse is going on one of it's data perform special work on it.(like bellow code)</p>
<pre><code> $(document).ready(function(){
$("*").mouseover(function () {//this line
$("*").animate({ //this line
... | jquery asp.net | [5, 9] |
4,637,992 | 4,637,993 | if __name__ == "__main__": equivalent in C# | <p>With python, I can use <code>if __name__ == "__main__":</code> for using the module both as a library and a program. </p>
<ul>
<li>Can I mimic this feature in C#? </li>
</ul>
<p>I see a class in C# can have a 'static void Main()', but I'm not sure if every class can have a Main() without a problem. </p>
<h2>ADDED... | c# python | [0, 7] |
1,759,535 | 1,759,536 | how to refresh the div block in specific time | <p>How can I refresh the div block in specific time so that changes made in database can be seen in browser.So that, I don't have hit <strong>F5</strong> every time to see the changes.</p>
<p>Thanks in advance</p>
| php jquery | [2, 5] |
4,938,902 | 4,938,903 | How to create the below model drop down in asp.net using C# | <p><img src="http://i.stack.imgur.com/IITzS.png" alt="enter image description here"></p>
<p>I am just learning .net and i wonder if it is possible to create drop lists like the one shown above or having a list type item where if + is pressed the item is expanded and when - is pressed again it minimizes.
<img src="http... | c# asp.net | [0, 9] |
4,716,100 | 4,716,101 | drop down box using jquery | <p>I have two drop down boxes.One drop box has values as may the other as 1.Now i change the first drop down value to june but will not change second drop box value.Here it is not passing second drop box because i have initiated using click event.Here i use live(click)but do i do that w/o clicking 2nd drop box that val... | javascript jquery | [3, 5] |
3,422,341 | 3,422,342 | How to change a default Horizontal ProgressBar to vertical? | <p>So far i have a working horizontal progress bar.</p>
<p>This is my xml file</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ProgressBar
... | java android | [1, 4] |
5,184,749 | 5,184,750 | Resources Not Found Exception | <p>I have a variable int nextvalue. This is set via</p>
<pre><code>nextvalue = b.getInt(b.getColumnIndex("nextq"));
</code></pre>
<p>It is definitely being set correctly as a following query relies on this value. The problem is occurring when I am trying something like</p>
<pre><code>text.setText(nextvalue);
</code>... | java android | [1, 4] |
5,818,887 | 5,818,888 | Capture Copy/Paste/Select in Javascript | <p>How can i capture the following keys in <code>Textbox</code> using <code>JavaScript</code>?</p>
<p><kbd>Ctl</kbd> + <kbd>a</kbd> </p>
<p><kbd>Ctl</kbd> + <kbd>c</kbd></p>
<p><kbd>Ctl</kbd> + <kbd>v</kbd></p>
<h2>Following is the original Situation.</h2>
<p>I have three <code>Textboxes</code> for Phones numbers.... | javascript asp.net | [3, 9] |
2,021,435 | 2,021,436 | Can I change a asp control from image handler? | <p>I have an asp page with a button on it that uses an image handler to show a jpg. Can I disable a button on the page from the image handler base on what image is loaded. for example if c:/x.jpg is loaded, disable the button.</p>
<p>Thanks
Charles</p>
| c# asp.net | [0, 9] |
4,290,230 | 4,290,231 | Call Javascript function from within PHP block | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1045845/how-to-call-a-javascript-function-from-php">How to call a JavaScript function from PHP?</a> </p>
</blockquote>
<p>I'm working on a project for school, and I'm struggling with the login page. In my PHP co... | php javascript | [2, 3] |
4,187,276 | 4,187,277 | Open a pdf after the viewer agrees to a disclaimer using jquery | <p>Before the viewer could see the pdf from a link, he/she has to agree to a disclaimer, that I have created as a pop-up. The pop-up works but the pdf does-not open after that. I think the syntax is wrong, So someone please correct it. Thanks.</p>
<pre><code><script type="text/javascript" src="../../Scripts/jquer... | javascript jquery | [3, 5] |
381,007 | 381,008 | how to get the value against the value selected in text box? | <p>i want to know that when i select any value from dropdown box it shows it's price in next field
example:
if i select snacks from the dropdown menu then it show its price in next field by fetching its price from database in php
items are also fetched from database
plz help me urgently</p>
<p><img src="http://i.stack... | php javascript | [2, 3] |
1,978,774 | 1,978,775 | Open Elfinder 2.X from input field | <p>In my CMS I used Elfinder 1.X, which was integrated into CKEditor and I could open an other instance by clicking an input as well. Now I updated Elfinder to 2.0 and the input doesn't want to work anymore. </p>
<p>Here's the code I had:</p>
<pre><code>function load_elfinder($id) {
$('<div />').elfinder({
url ... | javascript jquery | [3, 5] |
890,753 | 890,754 | Getting the closes element in the form with javascript | <p>I have the following two fields in a form:</p>
<pre><code> <input type="button" value="Rep" id="rep" name="rep" style="width:50px" onclick="addRep()"/>
<input type="hidden" value="<?php echo $comment_id; ?>"/>
</code></pre>
<p>I need to get the value of the hidden field in the form. So I... | php javascript | [2, 3] |
5,249,809 | 5,249,810 | Added javascript and now links don't work | <p>I added javascript to detect when a link is clicked, which works properly, however now the links aren't working (ie. they don't take the user to the linked page).</p>
<p>HTML:</p>
<pre><code><div class="designflow" style="padding-left:50px;padding-right:0px;padding-top:0px;padding-bottom:15px;margin-top:0px;flo... | javascript jquery | [3, 5] |
1,225,849 | 1,225,850 | using jquery to make ajax call and update element on form submit | <p>Here is my html form</p>
<pre><code> <div id=create>
<form action=index.php method=get id=createform>
<input type=text name=urlbox class=urlbox>
<input type=submit id=createurl class=button value=go>
</form>
</div>
<div id=box>
... | javascript jquery | [3, 5] |
645,300 | 645,301 | Randomly select file from folder in JS without an array | <p>I have this code to randomly grab a file from a folder path, and load it via jQuery:</p>
<pre><code>var path = '/path-to-files/',
files = ['1.php', '2.php', '3.php', '4.php', '5.php', '6.php'],
i = Math.floor(Math.random()*files.length);
var url = (path+files[i]);
$("#my-div").load(url);
</code></pre>
<p>It's grea... | javascript jquery | [3, 5] |
4,168,251 | 4,168,252 | Period (.) in dataset field name - Cannot bind to repeater | <p>I have a dataset that i am binding to a repeater. The <code>GetXML()</code> of the dataset looks like this:</p>
<pre><code><NewDataSet>
<Table1>
<Company.Date>03/22/2009</Company.Date>
</Table1>
</NewDataSet>
</code></pre>
<p>The aspx looks like this:</p>
<pre><code><%... | c# asp.net | [0, 9] |
4,332,526 | 4,332,527 | redirecting to other page with value in javascript via click | <p>I want to create a Javascript file to do these operations:</p>
<ol>
<li>Pass the current link to the other page</li>
<li>Click on hypertext or image that is created dynamically in JavaScript file to redirect</li>
</ol>
<p>Just I want to have a Javascript link in the html body and not other thing same this :</p>
<... | javascript jquery | [3, 5] |
1,954,097 | 1,954,098 | Android.jar on a server | <p>I'm currently working on a client-server app for android and I'm wondering if it is ok to use the Android.jar library for the server component of my application. Does anyone understand the legalities and technicalities surrounding this?</p>
| java android | [1, 4] |
561,370 | 561,371 | ImageButton Not Visible | <p>Can someone please tell me why my <code>ImageButton</code> is not showing when I use this layout:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
... | java android | [1, 4] |
4,950,756 | 4,950,757 | Finding Spaces, Newlines and Tabs with charAt() | <p>I'm trying to check if there is a space, a newline or a tab at the current character location. Spaces work but tabs and newlines dont. Go figure, I'm using escapes for those, and just a regular space for a space... What's the correct way to find these at a location?</p>
<pre><code>if(String.valueOf(txt.charAt(strt)... | java android | [1, 4] |
911,374 | 911,375 | Get datetime from given day | <p>user just enter the day of week. For instance user enter friday. I need to find the exact date of given day and format will be like <code>dd.MM.yyyy</code>.
But I don't know how I do it.<br>
Example: </p>
<pre><code>label1 - Friday (entered by user)
label2 - 08.06.2012 (found by system)
</code></pre>
<p><code>labe... | c# asp.net | [0, 9] |
173,443 | 173,444 | Equivalent of MappedBytesBuffer for .NET? | <p>I'm considering porting an application from Java to .NET. This application makes a massive use of the NIO package which is totally non-existing in .NET.</p>
<p>One of the crucial differences, which is difficult to replicate on .NET, is the MappedBytesBuffer, since it is used to access an isolated portion of a file.... | c# java | [0, 1] |
404,632 | 404,633 | Highlight list of words in the document using jQuery & java | <p>I am using know the following code to highlight specific word in the document </p>
<pre><code><script>
$(document).ready(function(){
$('h1').highlight('word1');
});
</script>
</code></pre>
<p>it works fine just to highlight one word !!</p>
<p>but I have an arrylist in my program which is wri... | java javascript jquery | [1, 3, 5] |
4,674,008 | 4,674,009 | Repel Objects when mouse is near | <p>I have a bunch of span elements in random positions enclosed inside a parent div called '.background'. These are generated with Javascript. Like this:</p>
<pre><code><span class="circle" style="width: 54px; height: 54px; background: #5061cf; top: 206px; left: 306px"></span>
</code></pre>
<p>I want them... | javascript jquery | [3, 5] |
5,811,546 | 5,811,547 | Securing a WCF ASP.NET web service | <p>I have a asp.net website and I am accessing that web service from my iPhone app to get data.
The WCF web service produces data as JSON.</p>
<p>I want to put some kind of authentication on the WCF. What you you guys recommend?</p>
<p>Thanks </p>
| asp.net iphone | [9, 8] |
2,632,959 | 2,632,960 | jQuery: Why would selector fail? | <pre><code><html>
<head>
<script src="../jquery.js" type="text/javascript"> </script>
<script type="text/javascript">
$(".demo").click(function() {
alert("JavaScript Demo");
});
</script>
</head>
<body>
<p class="demo">a paragraph</p>
&... | javascript jquery | [3, 5] |
1,919,333 | 1,919,334 | How to override the default confirm in javascript/jquery | <p>Ok, I'm trying to implement this plugin for a custom confirmation box, but i'm a little lost as far as the return values go. Here's the original:</p>
<pre><code>jQuery("a.confirm").click( function() {
if ( confirm( '<?php _e( 'Are you sure?' ) ?>' ) ) return true; else return false;
});
</code></pre>
<p>a... | javascript jquery | [3, 5] |
3,365,768 | 3,365,769 | Using jquery and javascript in Wordpress | <p>After trying for many many days without any improvement, I think I have no other choice but to ask for your help.
I have to admit that I don't know much about coding, but I've tried various tutorials, but just can't get to work what I want.</p>
<p>The problem is that I want sidebar tabs using jquery tools as well a... | jquery javascript | [5, 3] |
3,302,401 | 3,302,402 | how can i set a question mandatory while creating questionnaire using jquery | <p>while checking a checkbox i need to make a question required</p>
Make this a required question
| php jquery | [2, 5] |
549,577 | 549,578 | Need help to form Jquery to slide a table row down if mouse hovers over previous(one up) table row | <p>Only scrolls up on pageload so far and even then the animation is jittery
and ugly. I suspect it's something to do with me wanting to use this on tr element. </p>
<pre><code><table>
<tr class="ItemHeading">
<td>ItemName</td>
</tr>
<tr class="ItemDescription">... | javascript jquery | [3, 5] |
4,781,769 | 4,781,770 | Select HTML content | <p>I need to locate an element and grab an entire block of HTML.</p>
<p>I tried this:</p>
<pre><code>$(this).find('h1').html();
</code></pre>
<p>But only was able to capture the text withing h1 tag... What am I missing?</p>
| javascript jquery | [3, 5] |
5,556,203 | 5,556,204 | Adding an achor to a aspx page and getting the domainname | <p>Hi i am trying to add an anchor that pulls in the domain name and then i can just have whatever after that for example</p>
<pre><code><a href="GET_THE_DOMAIN+/admin/pages/customers/add.aspx">ADD CUSTOMERS</a>
</code></pre>
<p>how can I get the domain without hardcoding it since we will be using the sam... | c# asp.net | [0, 9] |
770,237 | 770,238 | How do I add a css class to an <li> element that contains a given ID using jQuery? | <p>I want to add an active class to the <code><li></code> that an ID is in, for example:</p>
<pre><code><li><a href="" id="foo">text</a></li>
</code></pre>
<p>How can I add a class to the <code><li></code> that <code>#foo</code> is in?</p>
| javascript jquery | [3, 5] |
4,933,570 | 4,933,571 | observable container for C++ | <p>Is there an implementation of container classes for C++ which support notification in a similar way as ObservableCollection for C#? </p>
| c# c++ | [0, 6] |
4,166,930 | 4,166,931 | NullReferenceException - can't figure out why initialized object resets to null | <p>ok, i have the following class in my code behind file. it's a very simple page, just takes the TestIssue object, loads the entry into a text box for editing the entry, and then when save is clicked it calls the function which updates the TestIssue in the database.</p>
<p>here's the code.</p>
<pre><code>public part... | c# asp.net | [0, 9] |
1,403,751 | 1,403,752 | 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] |
4,806,716 | 4,806,717 | Why does Android use Java? | <p>OK, this should really be asked to someone from Google, but I just want other opinion.</p>
<p>Even Android supports Native code applications, the main development tool is Java. But why? I mean, isn't it too slow to interpret code on a mobile device? when introducing Froyo, Google said that new JIT compiler can achi... | java android | [1, 4] |
3,082,659 | 3,082,660 | Find parent() of control, then find("a") JQuery | <p>I have a <code><td></code> that looks something like this:</p>
<pre><code><td class="myTDClass">
<span class="spanClass">Header</span>
<br />
<img class='myImages' style='cursor: hand;' onclick='doSomething(control)' alt='this is my alt Text'></img>
<br /... | javascript jquery | [3, 5] |
4,335,147 | 4,335,148 | Block Chrome Sniffer | <p><a href="https://chrome.google.com/webstore/detail/homgcnaoacgigpkkljjjekpignblkeae" rel="nofollow">Chrome Sniffer</a> is an extension for Chrome browser that detects web applications and javascript libraries run on browsing website.</p>
<p>I need a way to hide some libraries I use from it.
For example for stack o... | javascript jquery | [3, 5] |
2,214,331 | 2,214,332 | How to navigate to another screen using a TextView link - Android | <p>I followed the instructions in the following post to make active links in a textview:</p>
<p><a href="http://stackoverflow.com/questions/2734270/how-do-i-make-links-in-a-textview-clickable">How do I make links in a TextView clickable?</a></p>
<p>What I'd like to figure it out is if there's a way to alter the "a hr... | java android | [1, 4] |
4,179,558 | 4,179,559 | Generating a unique random number | <p>I am entering student id as a randon number into the DB </p>
<pre><code> int num = r.Next(1000);
Session["number"] = "SN" + (" ") + num.ToString();
</code></pre>
<p>But is there any chance of getting a duplicate number?How can i avoid this?</p>
<p>EDIT :: I have a identity column and the student id is separate... | c# asp.net | [0, 9] |
1,353,559 | 1,353,560 | User control "ascx" file with C# | <p>I have a user control, basically consists of a tree view and also a drop down list..
The user control shows something like</p>
<p>(For the tree view)</p>
<pre><code> Books
Learn Algebra in 24hrs (30)
Learn Calculus in 1 week (16)
</code></pre>
<p>(For the Drop Down)</p>
<pre><code>--- Books ----
Learn A... | c# asp.net | [0, 9] |
5,719,345 | 5,719,346 | how to remove attributes from dynamic generated elements | <p>first this is the picture , the calender is generated using a cms and every element has an onclick event</p>
<p><img src="http://i.stack.imgur.com/sEVrU.jpg" alt="enter image description here"></p>
<p>The <strong>back</strong> and <strong>forward</strong> buttons when clicked will make a new ajax request and retur... | javascript jquery | [3, 5] |
1,691,871 | 1,691,872 | Changing the value of embed src using 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>The codes are given in this <a href="http:/... | javascript jquery | [3, 5] |
1,095,610 | 1,095,611 | Getting started with mobile programming. What is a good platform? | <p>What is a good mobile programming platform to go with for a c++ developer? </p>
<p>Is learning android a good option?</p>
| java android c++ iphone | [1, 4, 6, 8] |
1,288,163 | 1,288,164 | simple dialog box with datepicker | <p>I have a jquery simple dialog box which works great but one of the text fields I have within the simple dialog box cannot see the datepicker plugin?</p>
<p>Thanks for any help!</p>
<pre><code> <div style="display:none;" id="simpleDialog1">
<form>
<fieldset>
<legend>Legend Name</leg... | javascript jquery | [3, 5] |
4,702,740 | 4,702,741 | How to open and close a popup window after it's completely loaded (in a loop)? | <p>i have something like this for my own little bookmarklet:</p>
<pre><code>jQuery('#fire').click(function() {
for (counter=0; counter<links; counter++) {
var currentLink = jQuery('body').find('.imageWrap:eq('+counter+')').attr("href");
var newWindow = window.open(currentLink);
/* and here close the popup whe... | javascript jquery | [3, 5] |
996,507 | 996,508 | .net 2.0 winform control in asp.net | <p>I want to use .net winform control in asp.net.I wrote the control and displays in asp.net.Is it necessary I have to create a package and deploy in client machine? or since .net framework available in client machine without package it will work.</p>
| c# javascript asp.net | [0, 3, 9] |
2,871,713 | 2,871,714 | How can access property of .aspx in the user control? | <p>I have an .aspx page in which I have a property. Now i create a user control and drop it on the page. Now how can i access that property in code behind of usercontrol. </p>
| c# asp.net | [0, 9] |
2,137,077 | 2,137,078 | Directory Browser in asp.net | <p>I am using Directory Browser used in <a href="http://www.codeproject.com/KB/aspnet/DirectoryBrowsing.aspx" rel="nofollow">http://www.codeproject.com/KB/aspnet/DirectoryBrowsing.aspx</a> . When I am running the application on localhost, UNC path is working fine. When I deploy the application in IIS UNC(Shared drive... | c# javascript asp.net | [0, 3, 9] |
3,238,755 | 3,238,756 | return null in ajax | <p>i have this code:</p>
<pre><code><script type="text/javascript">
$(document).ready(function() {
function doAjax(url) {
$("#customForm").submit(function() {
var formdata = $("#customForm").serializeArray();
$.ajax({
url: url,
type: "post",
dataType: "jso... | php javascript jquery | [2, 3, 5] |
4,994,543 | 4,994,544 | Javascript function not being found when Button is clicked to invoke it | <p>I have defined my OpenWin() function to handle opening the new window and pass params to it but when I compile it it says it is not defined.</p>
<pre><code>> <script type="text/javascript">
> function OpenWin()
> {
> var
>
> Parms ... | javascript asp.net | [3, 9] |
5,866,852 | 5,866,853 | session in asp.net C# | <p>basically i have 3 pages, log in page, main page and registration page.</p>
<p>My users have 2 access level, admin and User.</p>
<p>Admin can go to registration apge, User can't.</p>
<p>On log in page, there are 2 session, Name and Role.</p>
<p>on page load, I clear both session.</p>
<p>If log in is succeeded, ... | c# asp.net | [0, 9] |
2,522,260 | 2,522,261 | How to add caption and sum a column? | <p>i want give caption DATE,PRICE1, PRICE2 and i also show sum of price1, price2 in the footer. how can i do this? </p>
<pre><code><asp:Repeater ID="rptCari" runat="server">
<ItemTemplate>
<div>
<tr>
<t... | c# asp.net | [0, 9] |
5,867,831 | 5,867,832 | How can i pass $.ajax object to another function? | <p>This function will be using in general ajax calss:</p>
<pre><code>function f_AjaxFunction(_param) {
var objectWillReturn;
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: 'WS/wsGenral.asmx/f_QueryAndGetResultAsJson',
data: "{_sParam:'" + _param + "'... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.