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 |
|---|---|---|---|---|---|
871,072 | 871,073 | external javascript file from asp.net C# page | <p>i have some javascript functions written in an external javascript file.
and i have included the file in my asp.net page head section.
however i m not able to understand how do i call the functions from the code behind file.
e.g, i want to call a certain function 'tacount' on onkeypress event of a textbox. how can i... | c# javascript asp.net | [0, 3, 9] |
5,277,523 | 5,277,524 | ASP programmer thinking about learning PHP | <p>What's the best way to go about learning PHP when I've been doing ASP/ASP.NET? I'm not sure it's worth the time, but there seem to be so many projects doing it..</p>
<p>What do you think? Anyone crossed the worlds? How did you do it?</p>
| c# php asp.net | [0, 2, 9] |
2,622,757 | 2,622,758 | Unique div to delete - via live generated divs by jquery event | <p>I have a jQuery triggering a div with live updates every 5 seconds. That works fine. Sometimes those updates should be deleted immediately.</p>
<p>jQuery generates html like this:</p>
<pre><code><form>
<div id="live1">Aha I love you too
<input id="live1" type="hidden" value="1"><label id="li... | php jquery | [2, 5] |
744,277 | 744,278 | routing in javascript or php function | <p>I was wondering if there is a way of doing this:</p>
<p>let's say I'm calling this method:</p>
<p><code>object.segment1_segment2_segment3();</code></p>
<pre><code>// or
$object->segment1_segment2_segment3();
</code></pre>
<p>What you have to know is that segment1_segment2_segment3() is not necessarily an exi... | php javascript | [2, 3] |
3,741,641 | 3,741,642 | Is it possible with javascript to find file's last modified time? | <p>Is it possible? Now, I have done live chat, where with jquery's help I connect to .php file and check last modified time and if it is not as before, I retrieve messages. If it were possible in javascript I probably would save a lot of resources.</p>
<p>Thanks.</p>
| php javascript jquery | [2, 3, 5] |
4,522,599 | 4,522,600 | Duplicating filename issue | <p>I have a web page in which different user account can be created and the files created for individual user will be diaplayed in the gridview. That is, The files created by abc will be displayed in gridview when abc logs in. Whenever a user creates a file, these files are stored in a folder so that whenever the user ... | c# asp.net | [0, 9] |
788,572 | 788,573 | Looking for a Image Chooser in Jquery? | <p>I want to be able to browse the image from my web directory, select one of them or more and manipulate them. Like Store them... copy them.... resize them etc.</p>
<p>Any plugins or Code to make this possible?</p>
| php jquery | [2, 5] |
3,308,806 | 3,308,807 | Accessing to Java app from PHP | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3319161/php-java-integration">Php/Java Integration</a> </p>
</blockquote>
<p>I have a java app. It has some function. How can I call It's function in PHP?
I need step by step tutorial about it.
I need solution e... | java php | [1, 2] |
3,206,928 | 3,206,929 | Passing code to python from PHP | <p>I have a custom codechecker in python, Also there is a bigger project running in PHP, which stores users code in MySQL database.</p>
<p>I am new to python, so I'm not sure how I can pass the code from PHP to Python.</p>
<p>Do I have to store the file to the filesystem to pass it to Python? (In that case too many f... | php python | [2, 7] |
4,586,122 | 4,586,123 | jquery datatable editor plugin not working in asp.net(c#) | <p>I am using datatable editor plugins to insert rows into datatable but it is not working. Please see my code below.</p>
<pre><code>// Create the form
editor = new $.fn.dataTable.Editor({
"ajaxUrl": {
"create": 'Default.aspx/InsertNewuser'
},
"domTable": "#tbl",
"fields": [{
"label... | c# jquery asp.net | [0, 5, 9] |
1,794,846 | 1,794,847 | Can't make all elements of a class appear after delays | <p>I'm trying to make all the elements of a certain class show, but each after a delay.</p>
<p>This code shows all the elements instantly, but I want to wait 1 second between each.</p>
<pre><code>$('.notify').each(function(index) {
$(this).fadeIn('slow');
});
</code></pre>
<p>I've tried using setTimeout but it '... | javascript jquery | [3, 5] |
3,351,823 | 3,351,824 | Apply widget to current and future page elements | <p>Update : I had to change the text to explain my exact problem.</p>
<p>I have a 3th party library for tooltips.
It works like this</p>
<p>jQuery("a").tooltip();</p>
<p>How can I attach this to all future "a" elements added using ajax on this page ?</p>
| javascript jquery | [3, 5] |
2,443,453 | 2,443,454 | Auto-spacing input field value | <p>I'm creating a payment form and one of that field is the card number for VISA, Master Card and so on. My question is how to auto space the value (card number) enter by a user. </p>
<p>Let's say I input:</p>
<pre><code>4242 4242 4242 4242
</code></pre>
| javascript jquery | [3, 5] |
783,660 | 783,661 | Moving cursor position in contentEditable div | <p>I'm trying to move the cursor of a content editable div to the end of the line. By default, it goes to the beginning of the line.</p>
<p>I'm using:</p>
<pre><code>var r = $("#mydiv").createTextRange();
r.moveStart("character", l);
r.moveEnd("character", l);
r.select();
</code></pre>
<p>The error I get:</p... | javascript jquery | [3, 5] |
4,237,503 | 4,237,504 | about broadcast receiver | <p>Hi all I want to create an application in which there is an activity say My activity. Now I want to start it with incoming call, if it is not answered within 20 seconds.Please Help me. </p>
| java android | [1, 4] |
5,848,010 | 5,848,011 | Unable to convert input xml file content to a DataSet. Requested value 'ConnectionStrings' was not found | <p>Whenever i setup a typed dataset in visual studio 2008/2010 (ASP.NET) i encounter the error as </p>
<blockquote>
<p>Unable to convert input xml file content to a DataSet. Requested value 'ConnectionStrings' was not found.</p>
</blockquote>
<p>but i have the connnection string in my web.config </p>
<p>Have anyon... | c# asp.net | [0, 9] |
3,362,716 | 3,362,717 | IE and document.innerhtml() | <p>This works in firefox but not in IE7/8:</p>
<pre><code><script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$.get('page.php', function(data){
document.innerHTML = data;
});
}); //]]>
</script>
</code></pre>
<p>This also works in Firefox but not in ... | javascript jquery | [3, 5] |
4,547,283 | 4,547,284 | How to add textboxes to table when button is clicked | <p>I want to add a new cell and a TextBox into it when a button is clicked. But when I click the button in the current row, its cell and TextBox are removed and new ones are added. </p>
<p><strong>Markup:</strong></p>
<pre><code><form id="form1" runat="server">
<div>
<asp:Panel ID="pnlForTextBoxe... | c# asp.net | [0, 9] |
6,005,593 | 6,005,594 | Javascript reset function won't work after successful submission of a web form | <p>I am new to JavaScript. I am working in Visual Studio with ASP.NET and I have a simple form. I also have a JavaScript function to validate the form and a JavaScript function to reset the form. The validation and submission work fine. However, after submitting the form, I cannot get the JavaScript reset function to w... | javascript asp.net | [3, 9] |
467,774 | 467,775 | Sort the listbox items in C# | <p>I develop a webpage in that I display a list box items which is fetched from a database. Dynamically I added some items into it. It adds to the end of the list box, so I want to sort the list box item after I add items. I tried <code>Arraylist</code> for sorting, but it is not working. </p>
| c# asp.net | [0, 9] |
5,769,832 | 5,769,833 | Alternative to jQuery's .last | <p>I need to use the 1.3.2 library which unfortunately does not support the last functionality. This causes my function to fail: </p>
<pre><code>$op.last().next().after($op);
</code></pre>
<blockquote>
<p>"$op.last is not a function"</p>
</blockquote>
<p><strong>Demo:</strong></p>
<p><a href="http://jsfiddl... | javascript jquery | [3, 5] |
1,083,276 | 1,083,277 | How to get each file data in jQuery when I select multiple files? | <p>How to get each file data when I select multiple files?</p>
<pre><code><input name="file" type="file" multiple="" >
<script type="text/javascript">
$(document).ready(function(){
$(':file').change(function(){
var file = this.files[0];
name = file.name.toLowerCase();
size = file.size;
t... | javascript jquery | [3, 5] |
478,099 | 478,100 | Search text box corrosponding letter name should be ap | <p>I have emp textbox. The textbox contain names.I want to enter some name in text box and corresponding entries should be visible. Please tell me anyone.</p>
| c# asp.net | [0, 9] |
177,572 | 177,573 | How to restore Textbox Data | <p>I have a small requirement, </p>
<p>We have restore the textbox data that was cleared previously.<br>
Below is my HTMl code </p>
<pre><code><table>
<tr><td><input type="textbox"></td></tr>
<tr><td><input type="checkbox"></td></tr>
</table... | javascript jquery | [3, 5] |
1,752,277 | 1,752,278 | Count the length of a string excluding a list of keywords? | <p>I am validating a number of fields based on the length of the string entered. However, any of the values in the following array must NOT count against the string length:</p>
<pre><code>var omittedSubStrings = ["%KEYWORD%","{Keyword:AltText}","%CITY_STATE%","%CITY%","%KEYWORD%","%KEY_WORD%","%QUERY_KEYWORD%","%QUER... | javascript jquery | [3, 5] |
1,943,883 | 1,943,884 | How can I tell when a character has been typed in an input field? | <p>Let's say I have an input field with an id of code ( #code ).</p>
<p>How can I tell when a new character has been typed in it with javascript or jQuery ?</p>
<p>This is when the text is manually being entered or is done by javascript / jQuery.</p>
| javascript jquery | [3, 5] |
1,790,751 | 1,790,752 | jQuery Sparkline Boxplots - What does it expect for values array? | <p>I'm trying to wrap my head around the values that jQuery Sparklines expects in the values array for box plots. It doesn't seem to expect raw statistical values, but rather min value, 1st quartile value, median value, 3rd quartile value, and max value as the values array. Is that so? I went through the minified JavaS... | javascript jquery | [3, 5] |
295,978 | 295,979 | How to know if a button is being pressed or released? | <p>I have a little problem when I try to run my Android application. The problem occurs when I push & release a button on my main View. The application is to behave like a portophone (push the button to talk, release to stop).</p>
<p>To notify that the button is pressed or released, I've tried 2 options:
- Adding ... | java android | [1, 4] |
3,712,800 | 3,712,801 | Force browser to download PDF document instead of opening it | <p>I want to make the browser download a PDF document from server instead of opening the file in browser itself. I am using C#.</p>
<p>Below is my sample code which I used. It not working..</p>
<pre><code>string filename = "Sample server url";
response.redirect(filename);
</code></pre>
| c# asp.net | [0, 9] |
3,789,887 | 3,789,888 | Passing form values on a submit to an ajax call | <p>I have a common case of allowing a user to submit a form with some values and needed to pass those values to my ajax call. This approach works, but is there a more elegant/efficient way of accessing the form values other than using selectors?</p>
<pre><code>$("#myForm").submit(function(){
myData = {name: $("#name"... | javascript jquery | [3, 5] |
667,977 | 667,978 | How can I block the keyup() event for a second in jQuery? | <p>I'm doing a form validation in jQuery that alerts something when a forbidden character like #$@% is input by user. The problem is, when a user enters those characters, he uses the SHIFT key, so there are two keyup's.</p>
<p>How can I prevent the second one from happening?</p>
<pre><code>if (!regex.test(lastCharact... | javascript jquery | [3, 5] |
5,783,587 | 5,783,588 | $(someelement).text().length and counting character encodings? | <p>Lets say I have this.</p>
<pre><code><div id="somediv">
hello, my friend&#39;s &amp; dog are good friends!
</div>
</code></pre>
<p>I think that <code>$(somediv).text().length</code> is counting the encodings and not the rendered view. I am doing some truncating on a string if it's too long, an... | javascript jquery | [3, 5] |
3,589,944 | 3,589,945 | ASP Query String From DropDown | <p>I have a webpage: <strong>Menu.aspx</strong>, where I have the following controls of relevance: </p>
<ul>
<li>a DropDownList with some values</li>
<li>a hyperlink, which redirects me to a page called Edit.aspx.</li>
</ul>
<p>In my <strong>Edit.aspx</strong> page, I have a cancel button, which redirects the user ba... | c# asp.net | [0, 9] |
4,245,821 | 4,245,822 | How to Upload User Profile image and show it | <p>i am working on a project in which i have registration form in which i want to upload a user image . i have done upload work and store it in a folder. but i am confused how to show it when user open his account. please give idea in c# regards.</p>
| c# asp.net | [0, 9] |
4,671,513 | 4,671,514 | Clearing UrlData | <p>In a partial asp.net page I have a menu that create links with a foreach statement, which sends the user to another page like this:</p>
<pre><code><a href="Products/@category.CategoryName">@category.CategoryName</a>
</code></pre>
<p>In the Products page I pick up the category chosen by the user in the ... | c# asp.net | [0, 9] |
4,699,213 | 4,699,214 | Do event handlers for different buttons queue up? | <p>I have a question about handling of events triggered by clicks on different buttons:</p>
<p>Assuming we have several buttons pointing to the same event handler (attached through JQuery's "one" function )</p>
<p>If the first step in the event handler is to disable the event handlers of all the other buttons by call... | javascript jquery | [3, 5] |
4,056,004 | 4,056,005 | How can I parse this Date in Java? | <p>I want to parse a date into my format like <code>02:09 AM 25/09/2012</code> but I can't. I used this code.</p>
<pre><code>SimpleDateFormat sdf1 = new SimpleDateFormat("MMMM, DD yyyy HH:mm:ss Z");
//September, 25 2012 02:09:42 +0000
Date date = sdf1.parse(String.valueOf(PUNCH_TIME));
SimpleDateFormat sdf2 = new S... | java android | [1, 4] |
4,130,171 | 4,130,172 | Stream thread Null pointer error | <p>I am currently having a problem with retrieving an object from a stream in a thread. I am currently getting a null pointer error where it is trying to read from a stream. The input stream is instantiated in a service class so that only one connection for the app is needed. Can anyone see if there is any obvious reas... | java android | [1, 4] |
1,899,750 | 1,899,751 | How use keyboard arrow keys to move a div 100px left/right respectively | <p>I have a div with an id of <code>bottom_arrow</code> and I want to use my keyboard arrows left/right to move the div left and right 100px. How can I do this?</p>
| javascript jquery | [3, 5] |
5,915,908 | 5,915,909 | how to keep track of accordion(in masterpage) open status after page navigation? | <p>i am using jquery accordion as a menu in asp.net Masterpage.</p>
<p>This is jquery</p>
<pre><code>$(document).ready(function() {
$(".header").click(function() {
$(this).toggleClass("display");
$(this).next("div .menu_body").slideToggle(500);
});
});
</code></pre>
<p>This is html.</p>
<pre... | javascript jquery asp.net | [3, 5, 9] |
4,734,389 | 4,734,390 | Tilde in jQuery selector | <p>My understanding of the tilde's function in Javascript is that it performs a bitwise not operation (i.e. 1 becomes 0 and vice versa; 1000 becomes 0111). However, I've recently begun work on an existing project where my predecessor has included a lot of code like this: </p>
<pre><code>var iValuation = $('div[class~=... | javascript jquery | [3, 5] |
5,302,586 | 5,302,587 | Javascript; check if a variable is 1 or 0 | <p>I'm using a variable in Javascript which will be set via Php e.g. <code>var usesInterview = <?php echo 1;?></code></p>
<p>If not, then <code>var usesInterview = <?php echo 0;?></code></p>
<p>How best should I handle this in my code? There will be a If statement to check for the variable and determine t... | php javascript | [2, 3] |
741,826 | 741,827 | jquery "hasClass()" not working? | <p>I need to hide a div if another div has a class.</p>
<p>I've created a very basic example <a href="http://jsfiddle.net/sC3Yq/1/" rel="nofollow">HERE</a></p>
<p>I need the div on the bottom to hide when the word "click" is.. well.. clicked. It adds a class to the middle div just fine, but it seems <code>hasClass()<... | javascript jquery | [3, 5] |
5,456,002 | 5,456,003 | Best way to submit UL via POST? | <p>Quick question...</p>
<p>I have an input box that upon key enter, adds the value to an unordered list. How would I pass this unordered list to jquery post? I'm using the form.serialize, so I don't have to define each variable for posting. </p>
<p>Example, let's say I entered 3 fruits and they get dynamically added... | php jquery | [2, 5] |
5,140,895 | 5,140,896 | Addition of contextmenu for gridview in asp.net | <p>I want to bind each and every row in my gridview with context menu. That menu should contain options like Edit , Delete . can anybody please give me a sample code for that and also I want to know where can I get this contextmenu.dll file. Please help me out, I have tried every kown way. Thank you.</p>
| c# asp.net | [0, 9] |
2,934,760 | 2,934,761 | php variables won't save properly | <p>I'm posting to a php script, and I want to update some already existing variables in the script. My javascript is this :</p>
<pre><code>$('.submit_html').click( function(e) {
e.preventDefault();
var requested = $('.page_select').val();
var text = new Array($('.edit_html').val(), ... | php javascript | [2, 3] |
2,461,441 | 2,461,442 | Change url when manually scrolled to an anchor? | <p>By Default, if I have anchors in my website, then the URL on the address bar is changed, when I click on a link (ie. www.mysite.com/#anchor)</p>
<p>Is it possible to change the URL in the address bar instantly when I scroll to an anchor? Or have a long document with multiple anchors and the url changes on address b... | javascript jquery | [3, 5] |
3,211,424 | 3,211,425 | @Override gives error in eclipse? | <p>When I import project from workspace in eclipse, it gives error at <code>@Override</code> annotation. If the project has any method that has an annotation it displays as an error and when I remove it works fine, but when I have a major project that has a lot of annotations, what should I do fix it?</p>
| java android | [1, 4] |
633,873 | 633,874 | Can I have send two AlarmManager in a application | <p>I have two class, A, B in these classes. Both of them I have a alarmmanager like next;</p>
<pre><code>class A{
PendingIntent sender;
AlarmManager am = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
..........
am.set(AlarmManager.RTC_WAKEUP, atTimeInMillis, sender);
</code></pre>
<p>... | java android | [1, 4] |
2,563,541 | 2,563,542 | Need to show id in href tag but not navigate into other page | <p>I need to show item id in a href tag ,but it must not navigate into other page... one way to prevent navigation is using jvascriptvoid(0) but can i append it to id... If so how??</p>
<pre><code> <a href="id='.$portfolio_id.' "><img height="57" width="57" src="images/portfolio_uploads/orig_'.$portfolio_item... | php javascript | [2, 3] |
1,156,442 | 1,156,443 | Is rewriting a PHP app into Python a productive step? | <p>I have some old apps written in PHP that I'm thinking of converting to Python - both are websites that started as simple static html, then progressed to PHP and now include blogs with admin areas, rss etc. I'm thinking of rewriting them in Python to improve maintainability as well as to take advantage of my increase... | php python | [2, 7] |
5,548,247 | 5,548,248 | ASP.NET: How to assign ID to a field in DetailsView? | <p>I have a master-detail page, in which I use GridView to display multiple rows of data, and DetailsView + jQuery dialog to display the details of a single records. only one DetailsView is open at a time.</p>
<p>I need to be able to pull out a single field of the open DetailsView, for manipulation using JavaScript. I... | asp.net javascript jquery | [9, 3, 5] |
1,469,957 | 1,469,958 | Passing a jQuery event as a variable | <p>You can do this with JavaScript:</p>
<pre><code>function bar(test) {
alert(test);
}
var foo = bar;
foo('hi');
</code></pre>
<p>I'd like to be able to do something similar with a jQuery event:</p>
<pre><code>var foo = $('#bork').click;
foo(function() { alert('I was just clicked.'); });
</code></pre>
<p>Howeve... | javascript jquery | [3, 5] |
4,214,310 | 4,214,311 | Custom validation rule for tild and tilt character in PHP and Jquery | <p>I need a good validation for tild(~) and tilt(`) character in PHP and Jquery.
Here is the Jquery validation what i have made.</p>
<blockquote>
<p>$.validator.addMethod("validSMS", function(value, element) {
if (value.indexOf('~') === -1 || value.indexOf('`') === -1)
{
return true... | php jquery | [2, 5] |
3,987,909 | 3,987,910 | c# page_unload firing together with after page_load | <p>So i want to delete some files when a user closes the browser.</p>
<p>I'm using the <code>page_unload</code> method shown below: </p>
<pre><code> protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
string[] uploadedFiles = Directory.GetFiles(Server.MapPath("~/testPdfIn"));
... | c# asp.net | [0, 9] |
2,882,908 | 2,882,909 | Passing a JavaScript element ID into PHP or Form Variable | <p>I'm using the google maps API to get a city based on the latitude and longitude of the persons geo-location. I want to take the city name and be able to: display the name, use it as a variable or hidden form field. I found some great code online that runs a lot of this and I've got the code below working to display ... | php javascript | [2, 3] |
1,238,623 | 1,238,624 | Can I subscribe my Python script, running on Android, to get Broadcast Events? | <p>Short intro: I have an Android phone and a campus WiFi network, and to be logged in I need to enter the same login and password each time I get connected to it.
So I've decidet to write small script, which would do thatt automaticaly.</p>
<p>But, as I understood, I have to subscribe to NETWORK_STATE_CHANGED_ACTION ... | android python | [4, 7] |
4,385,239 | 4,385,240 | Which is faster, int to String or String to int? | <p>This may seem like a fairly basic question, for which I apologise in advance.</p>
<p>I'm writing an Android app that uses a set of predefined numbers. At the moment I'm working with <code>int</code> values, but at some point I will probably need to use <code>float</code> and <code>double</code> values, too.</p>
<p... | java android | [1, 4] |
2,811,696 | 2,811,697 | jQuery delegate selector problem | <p>I'm trying to delegate click event to all first anchor tags of all now and future divs with "panels" class. I did something like that:</p>
<pre><code>$('#panel').delegate('.panels a:first', 'click', function(event) [...]
</code></pre>
<p>but that doesn't work. It binds event only to one, first ".panels". Any hints... | javascript jquery | [3, 5] |
4,963,775 | 4,963,776 | Jquery click function with button and text | <p>Hello eveyone I'm trying to using click function. When the user clicks the button, a second text will appear and the first one will be display none and then user clicks again using the same button this time third text will appear and the second text will be display and finally click the same button again fourth tex... | javascript jquery | [3, 5] |
2,119,001 | 2,119,002 | change src image onload | <p>script:</p>
<pre><code> function SetProductImageLeft (img,idProduct){
var address="Image/ProductImage/"+id+".png";
$(img).attr('src', address);
}
</code></pre>
<p>html:</p>
<pre><code><img onclick="alert();SetProductImageLeft(th... | php javascript jquery asp.net | [2, 3, 5, 9] |
3,182,804 | 3,182,805 | Trigger click function on load | <p>I have the following function which is activated on click:</p>
<pre><code>$('.results .view-rooms').click(function(){ }
</code></pre>
<p>Is there anyway I can trigger this function on document load?</p>
| javascript jquery | [3, 5] |
600,755 | 600,756 | JS: adding text to text area issue | <p>Hi I'm trying to implement a solution that was posed on this question:
<a href="http://stackoverflow.com/questions/946534/insert-text-into-textarea-with-jquery">http://stackoverflow.com/questions/946534/insert-text-into-textarea-with-jquery</a></p>
<p>But coming unstuck.</p>
<p>This flat function works fine when a... | javascript jquery | [3, 5] |
2,172,422 | 2,172,423 | jquery POST method callback function query | <pre><code>$("#submit_js").click(function() {
var commentmsg = $('#comment').val();
$.post(
"user_submit.php",
{comment: $("#comment").val(), aid: imgnum, uid:$("#uid").val()},
function(data){
/*alert(data);*/
//$('#greetings'... | php javascript jquery | [2, 3, 5] |
3,716,719 | 3,716,720 | how to tell a string is all in english in php or javascript? | <p>how to tell a string is all in english of php. eg:$test="eeeeeeeeeeeee"
how to tell that the <code>$test</code> string is writen all in english.</p>
| php javascript | [2, 3] |
4,999,344 | 4,999,345 | Get image size using JQuery/ javascript | <p>please tell me how to get image size of all images in the page using jquery or javascript</p>
| javascript jquery | [3, 5] |
415,488 | 415,489 | Dynamically created divs get hidden after postback | <p>I have several divs in a nested gridview which are bound to att runtime with the command div id="div<%# Eval("id") %>". I then set the visibilty of the div via javascript. The problem is that the visibilty setting isnt retained between postbacks. (Im using a filter feature that filters the rows in the nested grid... | c# asp.net | [0, 9] |
4,525,747 | 4,525,748 | jQuery - On escape, close window if overlay not open | <p>When the escape key is pressed, I would like to close a child window, but first check for open overlays. If an overlay is open and the escape key is pressed, I only want the overlay to close. If the user presses escape again, I want it to close the child window.</p>
<p>So, I first need to check whether an overlay i... | javascript jquery | [3, 5] |
1,177,312 | 1,177,313 | on checking one item in custom list view another get automatically selected? | <p>Checking on one item in custom list view and another get selected in Android. I'm using custom adapter list view with check box.</p>
<p>I'm using check boxes in list view.
and I'm using following code for check box count. i.e how many check box are selected. </p>
<pre><code>final int listItemCount = screenList.get... | java android | [1, 4] |
4,110,113 | 4,110,114 | ASP.NET with Javascript disabled | <p>As you probably know, ASP.NET injects some javascript code to the form, like so:</p>
<pre><code><script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.o... | asp.net javascript | [9, 3] |
602,658 | 602,659 | When to fetch more content on infinite scroll? | <p>I'm building out an infinite scrolling feature for my site and am debating at what scroll point to inject more content into the page. I've seen some that perform the request at a fixed pixel distance from the bottom of the document, and others that feel more percentage based. What do large sites like Tumblr, Faceboo... | javascript jquery | [3, 5] |
1,509,974 | 1,509,975 | c# browse for a image on web applications and display it | <p>What would be the best way to create a C# Web Application that allows the user to browse for an image and then display it?
An equivalent of Picturebox in windows applications, sort of</p>
<p>Ideally the user should be able to click on Browse, choose the picture and see it in the browser itself</p>
<p>Thanks</p>
| c# asp.net | [0, 9] |
3,253,698 | 3,253,699 | Does an asp.net common page to CRUD all the tables in DB exist? | <p>I want a page for super admin to CRUD all the tables in DB. Admin can use one asp.net page to select specific Table on a dropdownlist and can perform CRUD operation on that page.</p>
<p>I think that's a common topic for db access, searched but not found such module. Can anyone give me advice?</p>
| c# asp.net | [0, 9] |
3,213,656 | 3,213,657 | Finding already playing ringtone | <p>How can I find whether ringtone is already playing? If it is already playing then do not play it again.</p>
| java android | [1, 4] |
817,491 | 817,492 | Change the summary of a ListPreference with the new value (Android) | <p>How can I modify the summary of a ListPreference to the new "Entry" string selected by the user (not the entry value)</p>
<p>I suppouse its with setOnPreferenceChangeListener() but in</p>
<pre><code>new OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preferenc... | java android | [1, 4] |
4,954,825 | 4,954,826 | jquery click on link? | <p>After an event is triggered, how do I make jQuery click on a link with an <code>id</code> of <code>mylink</code>?</p>
| javascript jquery | [3, 5] |
2,639,587 | 2,639,588 | PHP class to validate javascript syntax | <p>Do you have any ideas where to find a PHP class (library) which can validate JavaScript syntax?</p>
<p><strong>Result</strong>: it seems that there is no such library which is available to download, so the only solution is to write own. Thank you all.</p>
| php javascript | [2, 3] |
4,990,666 | 4,990,667 | how can change the text string to date object? | <p>i am getting string from server and i need to covert that fetching string in to new date object.. for doing this, i tried this function, but no use, any one can help me to convert strings to date object?</p>
<p>my code is :</p>
<pre><code>var nationZone = {
getNewYorkLocalTime : 'getTime.php?lat=40.71417&... | javascript jquery | [3, 5] |
1,891,104 | 1,891,105 | How to highlight the first 10 characters of text using Javascript or jQuery? | <p>I want to highlight the first 10 characters of text and also color occurrences of the word "paragraph".</p>
<pre><code><html>
<body>
This is a heading
This is a paragraph.This is another paragraph.
</body>
</html>
</code></pre>
| javascript jquery | [3, 5] |
126,879 | 126,880 | Creating a prompt with a one touch button inorder to create shortcut to android homescreen | <p>I am new to android development and do not know the specific prompt and create codes to accomplish the following. </p>
<p>I have a website ( <a href="http://www.hibbertmcgee.com" rel="nofollow">http://www.hibbertmcgee.com</a> ) that, when someone logs into from a mobile device, I would like them to be prompted to a... | php javascript android | [2, 3, 4] |
3,079,620 | 3,079,621 | JQuery: using .LIVE problems | <p>I have the following JQuery code:</p>
<pre><code>$("#myDIV li:eq(0)").live('click',function(){ funcA(); });
$("#myDIV li:eq(1)").live('click',function(){ funcB(); });
$("#myDIV li:eq(2)").live('click',function(){ funcC(); });
$("#myDIV li:eq(3)").live('click',function(){ funcD(); });
</code></pre>
<p>And realized ... | javascript jquery | [3, 5] |
5,929,623 | 5,929,624 | Are JavaScript functions asynchronous? | <p>Consider the following function being executed,</p>
<pre><code>function loadPage()
{
takeInput();
processInput();
outputInput();
}
</code></pre>
<p>In what order would they be executed(I have <a href="http://www.slideshare.net/clutchski/writing-asynchronous-javascript-101" rel="nofollow">read</a> that ... | javascript jquery | [3, 5] |
4,816,702 | 4,816,703 | How do I retrieve the textnode of a element without getting descending elements textnodes using Jquery? | <p><code>
<a href="#">Domain name<span class="value">2</span></a>
</code></p>
<p>I would like to retrieve only the text "Domain name".</p>
<p>I have tried using $('a').text() but that will also get the text inside the descending SPAN tag. Is there a way to select only the first text node insid... | javascript jquery | [3, 5] |
4,413,167 | 4,413,168 | Insert/Update values in a gridview | <p>What would be the best way to Insert/Update the values in a Grid view
on clicking a save button placed somewhere.
in the page .
I dont want that to be done like Using Insert Item template and EditItemTemplate.</p>
<p><b>My thought:</b>
"Loop through each row of Gridview and
connecting to database and
execute the ... | c# asp.net | [0, 9] |
396,078 | 396,079 | simple jquery event handler | <p>having some real problems with jquery at the moment. Basically what I have so far is. The form is submitted once the form is submitted a grey box pop's up with the relevant infomation.</p>
<p>What I need to do though is refresh the whole page then allow the grey box to appear.</p>
<p>I have the following code</p>
... | javascript jquery | [3, 5] |
567,728 | 567,729 | ASP.NET jQuery Ajax posting forms | <p>I can't seem to get the jQuery.ajax() function posting back any of my asp.net generated form controls.</p>
<p>I've put a break point on the server side and there aren't any values.</p>
<p>Is there a way around this or do I have to build up a list of what I want sent back?</p>
<p>Another question slightly off topi... | asp.net jquery | [9, 5] |
4,763,856 | 4,763,857 | definitive removing urls in a textbox | <p>I have a comment box and do not want people to post urls.</p>
<p>the site is written in c# asp.net</p>
| c# asp.net | [0, 9] |
127,590 | 127,591 | jquery Ellipse: How To Create Ellipse shape Gallery With jQuery | <p>This code is somewhat near to ellipse shape. I want my gallery shape to be arrange is ellipse shape like cloud carousel example. Right now i am using roundabout plugin shape tearDrop and below function used for tearDrop. I require similar function for ellipse shape.</p>
<pre><code>tearDrop: function (a, b, c) {
... | javascript jquery | [3, 5] |
4,296,063 | 4,296,064 | Use jQuery to fade image out | <p>I am using the following script to fade an image out after 5 seconds: </p>
<pre><code>var $j = jQuery.noConflict();
$j(document).ready(function() {
var fade_out = function() {
$j("#fadeout").fadeOut().empty();
}
setTimeout(fade_out, 5000);
});
</code></pre>
<p>When the image goes away it just... | javascript jquery | [3, 5] |
684,000 | 684,001 | javascript: Swap image & onClick | <pre><code><img src="logo.jpg" class="myImage" alt="Logotyp" />
</code></pre>
<p>This is my javascript code:</p>
<pre class="lang-js prettyprint-override"><code>$(function() {
var windowWidth = $(window).width();
if (windowWidth <= 480) {
$(".myImage").attr("src", "load.jpg");
}
});
</cod... | javascript jquery | [3, 5] |
4,364,989 | 4,364,990 | how to call javascript/jQuery when javascript is disabled in mozilla/ie? | <p>how to call javascript/jQuery when javascript is disabled in mozilla/ie ?</p>
| javascript jquery | [3, 5] |
1,510,514 | 1,510,515 | btnAdd_Click fires when i press F5 | <p>Hi I've a simple code to insert data into db in button click event. It is executing fine and insert data into db. After inserting data if i press f5 button it is again inserting a new row into db with the same values.</p>
<p>Button click event fires on each f5 button (refresh)</p>
<p>Wat is the problem?</p>
<p>Th... | c# asp.net | [0, 9] |
3,718,335 | 3,718,336 | How can i get Equivalent method of HttpwebRequest in javascript | <p>As we all know HttpwebRequest loads another page behind the scenes without redirecting the client to the other page. </p>
<p>How can I get this functionality using Javascript/Jquery?</p>
<pre><code>$(document).ready(function () {
debugger;
var ip = '<%= Request.UserHostAddress%>';
var location = window.locat... | c# javascript jquery asp.net | [0, 3, 5, 9] |
3,754,663 | 3,754,664 | Variable jquery parameter name | <p>I have a set of PHP language files which I use to output text to the user based on the their language choice. I have passed the PHP variables to javascript successfully and they are available as <code>LANG</code> You can see it in use in the code.</p>
<p>Here is my question... Since the code as shown below works pe... | javascript jquery | [3, 5] |
4,876,016 | 4,876,017 | How to randomly settext in texviews in android? | <p>I have 4 string arrays,each of these array's length is 4. I also have four textviews . Now I want to randomly settext of that array's indexes in the textviews. I have done this:</p>
<pre><code>ansone.setText(Answera[0]);
anstwo.setText(Answerb[0]);
ansthree.setText(Answerc[0]);
ansfour.setText(Answerd[0]);
</code><... | java android | [1, 4] |
2,727,707 | 2,727,708 | Android Calender.getTimeInMillis() units? | <p>I am using Android's Calendar object and I am using the getTimeInMillis() method, but when I look at the Value it gives me it is a really long number. I am trying to replicate this format but I don't know how as when I take the current time in 24 hour mode and convert it to milliseconds I am completely off.</p>
<p>... | java android | [1, 4] |
443,208 | 443,209 | how to auto redirect a page based on given time? should i use javascript ? how? | <p>let's say i have this code</p>
<pre><code>$itemtoDisplayTime = $model->getItemTime() // e.g 03:00pm
$currentTime = date('H:i'); //this is the system clock/time
</code></pre>
<p>is it appropriate to use javascript to automate the process of redirection without having to refresh the page ?
if so, how ?</p>
<p>l... | php javascript jquery | [2, 3, 5] |
842,519 | 842,520 | PHP with Javascript: Email confirmation script not working | <pre><code> echo "<script type=\"text/javascript\">
function finishForm() {
var answer = confirm('Are you sure these are the teams you want to enter with?');
if (answer) {
if(document.getElementByID(emailconfirm).value == ".$_SESSION[Email].") {
form.action=\"esubmit.php\";
form... | php javascript | [2, 3] |
900,635 | 900,636 | on() jquery not work with dynamic page? | <p>I want to use the jQuery <code>.on()</code> function with click.
Below is my code, currently it doesn't work, does this contain an error? </p>
<pre><code>$('#header-left-container').prepend(
results.rows.item(i).LibelleTypeTravail +
"" +
"<br>" +
"<img src='../js/images/add.png' id='img_go... | javascript jquery | [3, 5] |
2,234,702 | 2,234,703 | 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] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.