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 |
|---|---|---|---|---|---|
3,878,220 | 3,878,221 | countdown bar android example | <p>any help to display this simple countdown on progress bar?</p>
<pre><code>new CountDownTimer(30000, 1000) {
public void onTick(long millisUntilFinished) {
mTextField.setText("seconds remaining: " + millisUntilFinished / 1000);
}
public void onFinish() {
mTextField.setText("done!");
}
}.start();
<... | java android | [1, 4] |
1,792,859 | 1,792,860 | Convert localized string into decimal | <p>I have a string, that could look like "123,34", "123123,09", "1234", "123.34", "123123.09"</p>
<p>(Stringrepresentation of 10,2 decimal that will be stored into a MySql DB)</p>
<p>Due to the culture of the ASP.net thread may differ, because my application supports localization, I need to find a safe way to convert... | c# asp.net | [0, 9] |
4,969,866 | 4,969,867 | Get client machine's operating system name for both - tablet devices and PC | <p>I have a website created in asp.net 3.5, c# 2008 - hosted on IIS 7. I want to check from which operating system the client is accessing the site, whether from browser of computer or from browser of tablet devices like ipad, dell streak, samsung galaxy etc or from the smart phone. Is it possible to know. I have tried... | c# asp.net | [0, 9] |
2,352,953 | 2,352,954 | Run .exe on client system from server-side c# code | <p>I want to run an exe on client system from my c# asp.net website. When I use <code>Process.Start()</code>
it throws an error:</p>
<blockquote>
<p>The requested operation requires elevation.</p>
</blockquote>
<p>How do I set permissions to run that exe?</p>
| c# asp.net | [0, 9] |
1,278,198 | 1,278,199 | Unable to Print the full content of Page when horizontal scroll bar appears | <p>I need to print the current page in the asp.net application for that I am using <code>javascript:window.print()</code>.</p>
<p>It's working fine when the page content is within the bounds. However, if the horizontal scrollbar appears as a result of overflow, am able to print only the visible content while the overf... | javascript jquery asp.net | [3, 5, 9] |
1,767,344 | 1,767,345 | C# Passing a part of an array as an argument of a function by reference | <p>Is the C# code below the equivalent way of trying to achieve the same as the C++ code?
Is there any way to avoid the copy (while not sending the whole array to the function)?</p>
<p>C++</p>
<pre><code>static void somefunction(double* v, int nb)
{
//something that will update v[0],v[1], ... v[nb-1]
}
double * myar... | c# c++ | [0, 6] |
1,511,597 | 1,511,598 | What do I have to do to allow my web application run on mobile phones? | <p>let's say I have a webaplication with server programmed in Java and Javascript on client. What do I need to do in order to make this application run on common mobile devices, let's say with android OS or iPhones? </p>
<p>Do I even have to do anything? I know I will have to adjust Javascript UI for mobile phones and... | java android | [1, 4] |
5,431,246 | 5,431,247 | JavaScript if/elsif statment bug | <p>I have some sort of elsif statment bug I can't find:</p>
<p>My JSfiddle:</p>
<p><a href="http://jsfiddle.net/z3xV3/64/" rel="nofollow">http://jsfiddle.net/z3xV3/64/</a></p>
<p>Jquery:</p>
<pre><code>$('#slider1, #slider2, #slider3, #slider4, #slider5').bind('slide', function (event, ui)
{
var num = this.id.r... | javascript jquery | [3, 5] |
3,830,620 | 3,830,621 | Using a get variable while staying on the same page? | <p>I was wondering if there is a way to use a GET variable while staying on the same page. </p>
<p>I have some php/mysql script that I would like to execute if a particular link is clicked, using a GET variable. However, once the link is clicked, I don't want anything on the page to change, I just want to the script t... | php jquery | [2, 5] |
3,331,451 | 3,331,452 | JQuery function Adding progress animation | <p>I would like to add a progress animation to a function so that it displays at the begining of the function and then disappears at the end of it.</p>
<p>Something like:</p>
<pre><code><script type="text/javascript">
function myfunction() {
//Display progress animation here
$('input[type=submit]#submit')... | javascript jquery | [3, 5] |
3,470,584 | 3,470,585 | Synchronised timely refresh of multiple divs | <p>I have written a code to refresh two divs at regular intervals of time. Here it is</p>
<pre><code> <script language="javascript">
$(document).ready(function() {
$("#autorefresh_1").load("content1.php");
var refreshId = setInterval(function() {
$("#autorefresh_1").load("content1.php");
}, 9000);
$... | php jquery | [2, 5] |
1,787,084 | 1,787,085 | Can I use a C++ class in python class as superclass | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/602580/how-can-i-use-c-class-in-python">How can I use C++ class in Python?</a> </p>
</blockquote>
<p>I am designing a software in python but I am experiencing some memory problems while implementing it with pyth... | c++ python | [6, 7] |
3,312,393 | 3,312,394 | Passing a variable from created in function a to function b when function b is inside function a | <p>I have a function for the class .myclassA, inside this function I capture the id of the particular element chose and I put it inside a variable inputid. This function also brings another function for another class(.myclassB), which is inside the first function. Do you guys have any idea how I can pass the variable i... | javascript jquery | [3, 5] |
2,563,349 | 2,563,350 | Is it possible to automate the work in a solid .exe process? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/120359/tools-for-automated-gui-testing-on-windows">Tools for automated GUI testing (on Windows)?</a> </p>
</blockquote>
<p>I'm interested in following thing.
Let's say there is a program that is already pre-writ... | c# python | [0, 7] |
4,231,151 | 4,231,152 | Could Not Write File on FTP server using FTPClient in Java | <p>I am reading files on a FTP server and writing that data into another file. But after properly reading the data I couldn't write the file on to the FTP server.</p>
<p>I can retrieve files using "retrieve file", but can not store file using the <code>storefile</code> function.</p>
<p>My code is:</p>
<pre><code>imp... | java android | [1, 4] |
5,888,891 | 5,888,892 | Create another div and variable onChange using jQuery | <p>below is a code that gets the value of the selected option and shows the php file in the div. How can I add another file and another div (secondfile) to be displayed ?</p>
<pre><code>$('#firstresult').empty().addClass("loading")
.load(val + '.php', { value: val }, function(){
$("#firstresult").removeCla... | php javascript jquery | [2, 3, 5] |
2,938,384 | 2,938,385 | Loading ASPX markup from database | <p>Let say I have one default.aspx page in local development but in production we have different mark up according to client requirement might be we will not use up-comming.ascx user control on client page but we using on local or using for other client. in short how can load aspx markup from database not .cs code sinc... | c# asp.net | [0, 9] |
3,910,185 | 3,910,186 | Writing a quiz application | <p>im making a quiz application in asp.net using c#. The following code is my start page where on clicking on start i'm redirected to my questions page.
The only reason I've added a start.aspx page ... so I could initialize the
values in the Session.
Here in the page_load event the- request.QueryString["testid"] always... | c# asp.net | [0, 9] |
1,280,119 | 1,280,120 | javascript replace not workings | <p>I've got a problem with replace not working.</p>
<pre><code>alert($('input#membership_edc').next("label").html().replace(/£/g, ""));
</code></pre>
<p>The value of the label after the input would be £24.00, but I want to do a math on that value then put it back with the new value. It's not removing the pound sign.<... | javascript jquery | [3, 5] |
400,417 | 400,418 | How to display loading image or text while processing | <p>in my project i am checking links whether its working or not ,when i click on create link button i want to display please wait for while but when and when if their some text in text box1if textbox1.text == null then it should not be display and when its not null then when i will click create button it should show pl... | c# asp.net | [0, 9] |
395,004 | 395,005 | Android: Pass an integer from NumberPicker to another activity | <p>I am using the built in NumberPicker to have the user choose a number. Then the user will hit the "OK" button to confirm and the resulting action will open up another activity. I want the number that the user chooses to be passed through to the other activity when the user hits the "OK" button. I have done buttons t... | java android | [1, 4] |
4,031,833 | 4,031,834 | Is it bad practice to assign a css class for the sole purpose of finding it with jQuery? | <p>I'm using ASP.NET, not the newest one with that clientIdMode stuff. So, the control ids are generated and funky.</p>
<p>There are lots of ways of passing ids around, but lately I've been assigning a 'fake' css class to the control I'm interested in. Then in a js file I use jQuery to find the control.</p>
<p>Is t... | asp.net jquery | [9, 5] |
5,622,018 | 5,622,019 | Getting value of Radio buttons with Master Pages | <p>I have an aspx page that uses a master page. On this page I have a group of radio buttons. I need to get at the checked property for each of the elements in the radio button group in javascript. Before the page was converted to use a master page, the following javascript code worked just fine:</p>
<pre><code>if(... | asp.net javascript | [9, 3] |
2,055,895 | 2,055,896 | JQuery: If a custom class contains a number greater than 'x' add CSS code | <p>I would like to add css to a assigned span class if it contains a number higher than 55, also this must on a page load and not a button trigger. </p>
<p>Thanks any help would be great. </p>
<p>Example below: (currently not working) </p>
<pre><code><span class="subTotalPrice">10</span>
<span class="... | javascript jquery | [3, 5] |
2,956,011 | 2,956,012 | Retain information after update android App | <p>I am creating an application using a connection to a database with JDBC in an activity (ip, port, database name, username and password).
Everything works fine, but when I do some change (update of version) I have to reenter the data (ip, port, database name, username and password) to get a connection.
Any help or id... | java android | [1, 4] |
684,375 | 684,376 | Javascript stops as I lock iphone, can it still run? | <p>Is there a way to tell a javascript function to continue running even as a phone is locked?</p>
<p>Pretty much I have a timer that I need to continue to run even as the phone is set to idle.</p>
| javascript iphone | [3, 8] |
3,124,903 | 3,124,904 | Refresh js and css every session | <p>i want that a user make the login, the js and css are force to refresh themself</p>
<p>How can i do?</p>
<p>Thanks</p>
| c# asp.net | [0, 9] |
3,761,658 | 3,761,659 | Make a path for create a file in Java (Android) | <p>Given a File object how can I create the path for saving it?</p>
<p>I tried file.mkdirs() but for example if the file's path is:</p>
<pre><code>/mnt/sdcard/downloads/myapp/temp/song.mp3
</code></pre>
<p>it also creates a folder named "song.mp3" inside temp.</p>
<p>How can I do it correctly?</p>
| java android | [1, 4] |
1,114,296 | 1,114,297 | jQuery - If screen is less that specified width and responsive | <p>How can I make an alert popup if the width of the page is less that 1200px, but also made responsive?</p>
<p>Thanks!</p>
| javascript jquery | [3, 5] |
868,847 | 868,848 | Determining text width | <p>I want to find correct approach for calculating text width for specified font in C#.
I have following approach in Java and it seems it works:</p>
<pre><code>public static float textWidth(String text, Font font) {
// define context used for determining glyph metrics.
BufferedImage bufImage = new Buf... | c# java | [0, 1] |
436,680 | 436,681 | Accessing,filling and submitting a form using the URL it resides on from another form using javascript or jquery | <p>I have a blog (Blogger). I want to make a contact form. I made it using google forms. However the theme is not matching with my blog. Also I cannot customize that form. so what i thought is to build my own form. So when a user fills and submits the form i shall fill the google form (that has got a url) with the sam... | javascript jquery | [3, 5] |
2,119,478 | 2,119,479 | ASP.NET CheckBox disabling postback with javascript | <p>I'm trying to wire up a CheckBox to handle an event when check/unchecked. If the user has JavaScript enabled, use that, otherwise use a postback.</p>
<p>Here is my code:</p>
<pre><code><asp:CheckBox ID="ApplicationInProcessCheckBox" runat="server"
Text="Application In Process" AutoPostBack="true"
onc... | asp.net javascript | [9, 3] |
346,534 | 346,535 | Global javascript function | <p>I have a method which detects broken links with a .imageclass class like so:</p>
<pre><code>$('.imageclass').one('error', function() {
alert('broke');
});
</code></pre>
<p>That I want to be used in several files.<br> How would I go about doing this?<br>
I've tried using a separate js file with:</p>
<pre><cod... | javascript jquery | [3, 5] |
5,509,912 | 5,509,913 | Get HREF property | <pre><code><a class="some" id="1" href="/s/1/2">link 1</a>
<a class="some" id="2" href="/s/2/3">link 1</a>
<script>
$(document).ready(function() {
$('.some').click(function() {
var id = this.id;
var link = $(this).css('href');
alert(id);
alert(link);
... | javascript jquery | [3, 5] |
3,722,316 | 3,722,317 | how to target certain time using jquery Countdown - http://keith-wood.name/countdown.html | <p>I am using these jQuery countdown - <a href="http://keith-wood.name/countdown.html" rel="nofollow">http://keith-wood.name/countdown.html</a>.</p>
<p>I'm trying to get it to countdown to 17:00 (5:00 PM) everyday but I cannot seem to set the time.</p>
<p>Any help welcomed.</p>
<p>The code I have is :-</p>
<pre><co... | javascript jquery | [3, 5] |
3,595,348 | 3,595,349 | Retrieve value from webservice called from javascript? | <p>Is it possible to retrieve value or date from calling a webmethode from javascript, here is a sample code:</p>
<pre><code>//This method is in a webservice.asmx file.
[WebMethod]
public List<tbl_City> GetAllCitiesByCountry(int countryID)
{
return Cities.GetAllCitiesByCountry(CountryID: countryID);
}
<... | c# javascript asp.net | [0, 3, 9] |
4,692,700 | 4,692,701 | How to Fix the width attribute in cross browser environment | <p>Please see the JS link here </p>
<p><a href="http://trac.openwebanalytics.com/browser/trunk/modules/base/js/includes/jquery/jquery.ui.selectmenu.js?rev=1436" rel="nofollow">http://trac.openwebanalytics.com/browser/trunk/modules/base/js/includes/jquery/jquery.ui.selectmenu.js?rev=1436</a></p>
<pre><code>(function($... | javascript jquery | [3, 5] |
3,159,413 | 3,159,414 | Android: Specifying a onClick() member method in XML? | <p>I have a layout in XML as follows: </p>
<pre><code><LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:onClick="myButton.performClick" />
</code></pre>
<p>myButton is a member of this activity, is it possible use a class member meth... | java android | [1, 4] |
2,942,063 | 2,942,064 | Need suggestion for accessing remote machine in asp.net | <p>I want to access some places on a remote machine.The folder i want to access have full control to EVERYONE. The code given below is used to access network path.</p>
<pre><code> System.IO.DirectoryInfo locationInfo = new System.IO.DirectoryInfo(BackupLocationTxt.Text);
if (locationInfo.Exists)
{
... | c# asp.net | [0, 9] |
1,151,947 | 1,151,948 | Attach sounds to every list item | <p>If I have a list of words...</p>
<pre><code>var wordList = ["jim", "tim", "sam", "bob", "pam"]
</code></pre>
<p>and I want to attach a different sound to each one so when they where randomly selected it would play their sound. Can someone please help?</p>
<pre><code>var wordList = ["jim", "tim", "sam", "bob", "pa... | javascript jquery | [3, 5] |
660,943 | 660,944 | append a select box with same option but different name | <p>How can I append a select box with same option and different name.
I have a loop, where my php reads a sql table, and for each row, it creates a option tag</p>
<p>this is the function to append:</p>
<pre><code>$(function(){
$('#add').click(function(){
var select = $('span[id=combo]').html();
$(... | javascript jquery | [3, 5] |
5,357,359 | 5,357,360 | hosting a webserver inside iphone and android phones | <p>i am planning to do some servlet for my app to work offline on both android and iphone devices. for this i need to have the stubbed responses on a server.i saw there is one such server for android (<a href="http://code.google.com/p/i-jetty/" rel="nofollow">http://code.google.com/p/i-jetty/</a>). is there is similar ... | php android iphone | [2, 4, 8] |
4,230,405 | 4,230,406 | Using JQuery to get string value of an onclick() event | <p>Wondered if there was good way to do this, thought I would post to the SO community...</p>
<p>There is a 3rd party web page that I have no control over how it renders, but they allow me to add JQuery.</p>
<p>Using the JQuery, I am creating a nav menu on the side of the page, it will be a list of links. The onclic... | javascript jquery | [3, 5] |
3,953,385 | 3,953,386 | Asp.net web app shows me as the logged in user on someone elses pc | <p>OK, I really don't know what to search for this, so hopefully someone can help me.</p>
<p>I've just published an asp.net web application, and after much messing about finally got it to load in my browser.</p>
<p>The issue however is that when I got my mate who is sitting next to me to open the site in his browser,... | c# asp.net | [0, 9] |
3,886,020 | 3,886,021 | How to Delete a file using asp.net? | <p>to all
i write the code in asp.net using c# to delete the file in my computer, but it is not deleting please help me thank u. this is my code, i write in button click event</p>
<pre><code> string path = "E:\\sasi\\delt.doc";
FileInfo myfileinf = new FileInfo(path);
myfileinf.Delete();
</co... | c# asp.net | [0, 9] |
4,479,741 | 4,479,742 | jQuery Uppercase word locator | <p>I need to locate words for more than 4 characters that are written between <code><p> </p></code> in uppercase and add them a style (ex. italic).</p>
<p>I know about the function <code>isUpperCase()</code> but don't know how to apply it to check if the string is more than 4 characters.</p>
<pre><code>fu... | javascript jquery | [3, 5] |
5,518,228 | 5,518,229 | How to update "complex" data stored with jQuery's .data()? | <p>It seems to me that jQuery's <code>.data()</code> function is more of a write-once store than true read-write-storage.</p>
<p>There does not seem to be a comfortable way of updating complex values.</p>
<p>Let's suppose one wants to use some elements in a double-linked list (not my use case, illustrative purpose on... | javascript jquery | [3, 5] |
4,048,421 | 4,048,422 | jQuery .click event runs on page load | <p>I have this jQuery script in an external file. Im using it to update a database. I've been practicing around with it and cannot get it right. I would like for the .ajax call to be ran when my button (labeled with ID "add") is clicked, however the database is updated everytime the page is refreshed and NOT when the b... | javascript jquery | [3, 5] |
5,946,288 | 5,946,289 | Arithmetic + and Bitwise OR | <p>Is there any difference between Arithmetic + and bitwise OR. In what way this is differing.</p>
<pre><code>uint a = 10;
uint b = 20;
uint arithmeticresult = a + b;
uint bitwiseOR = a | b;
</code></pre>
<p>Both the results are 30.</p>
<p>Edit : Small changes to hide my stupidity.</p>
| c# java | [0, 1] |
714,958 | 714,959 | jQuery - .on('click', ...) event fires two times in Firefox | <p>i have a search field in which the user enters a letter and the ajax script in the background performs a search. The results are displayed live in a ul-li list. The user can click on the li which class is 'search_list_item'. After the click the username/id is copied into another div (the msg-receiver div).</p>
<p>I... | javascript jquery | [3, 5] |
2,591,105 | 2,591,106 | will $("#someelementid").html('') still preserve space in DOM? | <p>I have an div with id <code>someelementid</code> that contains lot of tags or you can say long form in it. if i use jquery's method <code>$("#someelementid").html('')</code>
will it free the memory of that form in the ram?</p>
| javascript jquery | [3, 5] |
866,774 | 866,775 | make div float up | <p>I am trying to make a chat option for users however I only want the chat to show for a certain amount of time, I could do this via PHP and timestamp but I would also like to visually hide it by making the div containing the message to float up until it becomes hidden as an overflow..</p>
<p>I seen a script on the f... | javascript jquery | [3, 5] |
2,892,294 | 2,892,295 | when i invoke gmail to send some advice the bluetooth come out, too | <p>this is my code to invoke gmail.</p>
<pre><code>private void sendMail() {
// Device model
String PhoneModel = android.os.Build.MODEL;
// Android version
String AndroidVersion = android.os.Build.VERSION.RELEASE;
final Intent emailIntent = new Intent(
android.content.Intent.ACTION_SEN... | java android | [1, 4] |
5,037,310 | 5,037,311 | AJAX web applications with no hand-written JavaScript | <p>I'm looking for solutions that make it possible to create AJAX-enabled web applications without need to write JavaScript code manually. The requirements are:</p>
<ol>
<li>Performance doesn't matter. It can be slow, JavaScript may be unoptimized, amount of code it generates may be large.</li>
<li>Platform doesn't ma... | c# java javascript python | [0, 1, 3, 7] |
1,513,462 | 1,513,463 | jQuery/JS - Count elements within element | <p>In jQuery or JS I need to count the amount of DIV elements inside my parent DIV called <code>cont</code>? I've seen similar questions here on StackOverflow and have tried the following.</p>
<pre><code><div class="b-load" id="cont">
<div>
<img src="page2.jpg" alt=""/>
</div>
&... | javascript jquery | [3, 5] |
497,028 | 497,029 | jquery disable a button for a specific time | <p>i want to disable a button for a specific time. how can i do that?</p>
| asp.net jquery | [9, 5] |
136,488 | 136,489 | Getting the response of a webpage that contains javascript | <p>In my C# app i got the following code:</p>
<pre><code>private void button1_Click(object sender, EventArgs e)
{
string uri = urlTextBox.Text;
Uri myURL;
if (!Uri.TryCreate(uri, UriKind.Absolute, out myURL))
return;
WebRequest request = WebRequest.Create(myURL);
request.Method = "GET";
... | c# javascript | [0, 3] |
5,262,315 | 5,262,316 | Jquery: How can I place triggers on images already cached? | <p>Please see: <a href="http://flx.me/h/0504/" rel="nofollow">http://flx.me/h/0504/</a></p>
<p>Source: <a href="http://pastebin.com/bDh5k3Qd" rel="nofollow">http://pastebin.com/bDh5k3Qd</a></p>
<p>jquery.preload-min.js: <a href="http://jquery.com/plugins/project/Preload" rel="nofollow">http://jquery.com/plugins/proje... | javascript jquery | [3, 5] |
1,792,065 | 1,792,066 | ltrim with jQuery? | <p>I am using jQuery to capture an encoded URL. </p>
<p>I looks something like: #?var=asdasdasdasdasd</p>
<p>I need to strip "#?" at the beginning of the string. In PHP I'd use ltrim. How can I do this with jQuery or plain JS?</p>
<pre><code> $("#myLink").click(function(){
var myUrl = $(this).attr("href");
... | javascript jquery | [3, 5] |
2,886,139 | 2,886,140 | Copy text to other input field onblur | <p>I'm using jQuery to copy the value of one input field to another on blur. Here's my code:</p>
<pre><code>$( "input[id$=token-input-search_field]" ).blur( function() {
$(this).val() = $('input[id$=search_field]').val;
});
</code></pre>
<p>But it doesn't seem to work. What am I doing wrong?</p>
| javascript jquery | [3, 5] |
237,716 | 237,717 | Need help in changing layout at run time using Repeater control | <p>I am new to .Net.
Currently working on creating a bus layout for a online bus reservation system.
is there any solution possible with below code</p>
<p><strong>1. Booking.aspx file</strong></p>
<pre><code> <asp:Repeater ID="SeatLayout" runat="server">
<HeaderTemplate><table class="seatList">... | c# asp.net | [0, 9] |
4,059,530 | 4,059,531 | replace cookie value to space character using jquey or javacript | <p>I have stored some textbox values in cookies.</p>
<p>But if textbox is blank then cookie value will be "null".</p>
<p>I am assigning that cookie value to another textbox. But as the cookie value is null it shows "null" in textbox.</p>
<p>I want to replace this "null" to a blank space.</p>
<p>How to do it?</p>
<... | javascript jquery | [3, 5] |
5,665,225 | 5,665,226 | How can I print only one specific panel ID | <p>I have an aspx page (c# using visual studio 2010) in which I have a terms of service. I would like to allow the users to print the terms of service without having to print the rest of the page. (The rest of the page is various other information) </p>
<p>Therefore I would like a way to specify a panel ID and when... | c# asp.net | [0, 9] |
2,052,989 | 2,052,990 | How to call a function automatically on document ready event in jQuery | <p>I m having following Code in which this code executes when i click a anchor tag named msgup</p>
<pre><code> $("#msgup").bar({
color : '#1E90FF',
background_color : '#FFFFFF',
removebutton : false,
message : 'Your profile customization has been saved!',
time: 4000
});
... | javascript jquery | [3, 5] |
999,171 | 999,172 | jQuery replace all single character | <p>I want to replace all characters in the textarea by a click using jQuery.</p>
<p>For example:</p>
<p>ə = e, ı = i, ...</p>
<p><em>Thıs ıs əxamplə</em></p>
<p>By clicking it should be:</p>
<p><em>This is example</em></p>
| javascript jquery | [3, 5] |
3,651,125 | 3,651,126 | JavaScript code not working IE8 | <p>I am trying to make work links which we click to change the language of website using JavaScript. Here is the HTML code:</p>
<pre><code>'<form action="" method="post" name="currlang">'.
'<input type="hidden" name="languageval" value="'.$session->value("language").'"/>'.
'<a onclick... | javascript jquery | [3, 5] |
1,991,801 | 1,991,802 | Are there comment system/user loggin type modules through PHP API/Python API outside of CMS? | <p>I'm primarily using Drupal and am considering moving away from CMS. If I were to build my own platform could I integrate modules like commenting systems, user login, etc. through a PHP/Python API? What would be the proper steps/good places to look/good tutorial on this? Would I have to build all of my own tables ... | php python | [2, 7] |
3,573,577 | 3,573,578 | Reload when setTimeout function finishes | <p>I want to reload window after a this custom function finishes:</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
setTimeout(function () {
$('#order_form').dolPopupHide({});
}, 3000);
//window.location.reload();
});
</script>
</code></pre>
<p>Is there a way... | javascript jquery | [3, 5] |
2,638,416 | 2,638,417 | Jquery dynamically create link | <p>I have a piece of JQuery that creates a row in a table and in one of the cells there is an X that is surrounded by a class. When it is dynamically created and then clicked on the click listener does not fire.
Here is the code.</p>
<pre><code>$('#add').click(function() {
$( '#table' ).append('<td class="x">... | javascript jquery | [3, 5] |
725,134 | 725,135 | How to get asp:textbox value on code behind file? | <p>The error I get is :The name agentName does not exist in the current context"</p>
<p>On default.aspx I have <code><asp:TextBox ID="agentName" runat="server" /></code></p>
<p>On code behind file I have <code>agentName.Text</code></p>
<p>But is says the above error message.</p>
<p>when I pass hard coded valu... | c# asp.net | [0, 9] |
1,187,755 | 1,187,756 | How to replace a codebehind method with an aspx method using ternary operator | <p>I have an asp:hyperlink control as part of a gridview template. The code in the aspx page is given below:</p>
<pre><code>asp:HyperLink runat="server" ID="lnkEdit" ToolTip="Edit article" NavigateUrl='<%# GetUrl(Eval("ID").ToString(), Eval("CategoryID").ToString()) %>' ImageUrl="~/Images/Edit.gif"
</code></pre>... | c# asp.net | [0, 9] |
3,005,625 | 3,005,626 | It doesnt seem that jQuery clones events, but just the html/xml? | <p>I have a test script i writing up as a demo, and I am building a template, but when i clone it, it doesnt seem to fire the event.</p>
<pre><code>var $shifter = $("<a class='shifter'>^</a>");
$shifter.click(function(){
alert("ping");
});
</code></pre>
<p>You can view my whole template at: <a href="... | javascript jquery | [3, 5] |
453,767 | 453,768 | jQuery select img with src | <p>I want to select an image (with jQuery) by the src attribute. The Image is inside an ul and a collection of div's. The id of the ul is "sortable".</p>
<p>Here is my HTML:</p>
<pre><code><ul id="sortable">
<li id="pic_0">
<div class="sortEleWrapper">
<div class="imgWrapper">
... | javascript jquery | [3, 5] |
4,472,632 | 4,472,633 | Get script to wait for file dialogue to return | <p>I have a web page where I want to prompt the user for a file to upload, but I don't want to display the <code><input type="file"/></code> element.</p>
<p>I have a button that triggers the file dialogue to display, but the code doesn't wait for the dialogue to return.</p>
<p>Is there an event I can hook into ... | javascript jquery | [3, 5] |
2,438,821 | 2,438,822 | When the submit button is clicked, I want to get the value of a dropdownlist | <p>How do I get the option's value that was selected in a dropdown list when a button is clicked?</p>
<pre><code><select id="d1"><option value="1">One</option>...</select>
</code></pre>
| javascript jquery | [3, 5] |
4,706,485 | 4,706,486 | javascript date + 1 | <p>How do I take today's date and add 1 day to it?</p>
<p>If possible, inline please?</p>
| javascript jquery | [3, 5] |
2,106,813 | 2,106,814 | is it possible to make duble include in javascript and php? | <p>I am using the following code to check if the user liked my facebook page or not ?</p>
<pre><code> <style>xxxxxxxxxxxxxxxxx</style>
<script src="http://www.google.com/jsapi"></script><script>google.load("jquery", "1");</script>
<script type="text/javascript" src="ht... | php javascript | [2, 3] |
5,764,346 | 5,764,347 | Jquery droppable live disabling/enabling | <p>I have a some draggables in a list of droppables (1 draggable per droppable li). </p>
<p>When I move a draggable from one droppable to another free droppable, I want to diable the receiving droppable, and enable the droppable it is leaving from. </p>
<p>In firebug the droppable class gets removed – but the functi... | javascript jquery | [3, 5] |
1,686,469 | 1,686,470 | How to display selected GridView row in DetailsView | <p>I have a aspx page that has a GridView with a datasource of an array of the Client class. I would like to include a DetailsView below the GridView that shows the information of the selected GridView row and allows the user to edite that row. When they are done editing the row, I plan to call the web service to updat... | c# asp.net | [0, 9] |
4,938,577 | 4,938,578 | Why I am not able to control Media volume when the alert dialog is shown in Android? | <p>I am controlling media volume programmatically from my app. I am setting alert dialog when the media volume is below certain range. When this alert is displayed at this point if I try to adjust the volume controller buttons the ringer volume will get adjusted not media volume.
Why is this happening?</p>
<p>I am us... | java android | [1, 4] |
3,752,033 | 3,752,034 | asp.net C# how to check wether whereparameters of a entitydatasource returns 0 rows | <p>I have a entitiydatasource: </p>
<pre><code><asp:EntityDataSource ID="EntityDataSourcePersoneel"
runat="server"
ConnectionString="name=HotelTestDatabaseEntities"
DefaultContainerName="HotelTestDatabaseEntities"
EntitySetName="Personeels"
Include="Afdeli... | c# asp.net | [0, 9] |
3,009,322 | 3,009,323 | The method apply() is undefined for the type SharedPreferences.Editor | <p>code: <a href="http://pastebin.com/sh5TKhVv" rel="nofollow">http://pastebin.com/sh5TKhVv</a>
I have coppied this code from book and I did not change anything but it have this error in lines 96 and 192.</p>
<pre><code>preferencesEditor.apply(); --> The method apply() is undefined for the type SharedPreferences.Ed... | java android | [1, 4] |
5,648,769 | 5,648,770 | Double execution on a single click jquery | <p>i am having a problem when i click on an input(button) (click event captured using jquery) it is executed two times but the click event is single... i used <strong>"e.stopPropagation();"</strong> - but it didn't work...</p>
<pre><code>jQuery("#ok").click(function(e){
alert("Alert");
e.stopPropagation(... | javascript jquery | [3, 5] |
4,155,675 | 4,155,676 | How to convert a urlcode in array in php? | <p>I hope you can help me;</p>
<p>How to convert a urlcode in array in php?</p>
<p>example:</p>
<pre><code>$Urlcode = 'name=luiz&country=Brazil&city=patrociniomg';
</code></pre>
<p>I need to transform this $Urlcode in array, in PHP, anyone know?</p>
<p>Thanks to everyone now</p>
| php jquery | [2, 5] |
3,019,109 | 3,019,110 | iTextSharp StyleSheet how to set label style | <p>I am using iTextSharper and i am reneding a labelabout.text as a pdf , but the the control i render that are displayed in the pdf file does not have nice format so i am trying to style it.</p>
<p>I should on some way use "Styles to set it on my labelabout as a div on some way the labelabout that u se here right dow... | c# asp.net | [0, 9] |
5,197,370 | 5,197,371 | Get content of iframe from jquery | <p>everyone.
I created my page and inserted inside another page using IFrame. Now I'm trying to get whole text of that inserted page using pure javascript or jquery. Here's what I have now, but it doesn't work... </p>
<pre><code> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; chars... | javascript jquery | [3, 5] |
3,348,488 | 3,348,489 | Return the fields that do not pass validation in PHP to jQuery | <p>I'm using jQuery with PHP for form validation. I want to return the fields that do not validate so i can highlight them using javascript</p>
<p>this is my attempt using PHP(validate.php):</p>
<pre><code><?php
...
$a_invalidInput = array();
$from = $_POST['from'];
$to = $_POST['to'];
$email_to = $_POST['email_t... | php jquery | [2, 5] |
1,894,836 | 1,894,837 | How do I stop an effect in jQuery | <p>I have a page that uses </p>
<pre><code>$(id).show("highlight", {}, 2000);
</code></pre>
<p>to highlight an element when I start a ajax request, that might fail so that I want to use something like</p>
<pre><code>$(id).show("highlight", {color: "#FF0000"}, 2000);
</code></pre>
<p>in the error handler. The proble... | javascript jquery | [3, 5] |
2,925,814 | 2,925,815 | how to send sms to mobile from web application using asp.net and c#? | <p>How do you send an sms message to a mobile phone from a web application using asp.net and c#?</p>
| c# asp.net | [0, 9] |
4,399,316 | 4,399,317 | Javascript function that returns a DOM when input is html content | <p>I want a Javascript function that returns a correct DOM when input is HTML content.
I have used the follwing function for the same. Here input is HTML content and output is DOM.</p>
<pre><code>function htmltoelement(elementHTML)
{
var temDiv = document.createElement('div');
temDiv.innerHTML = elementHTML... | javascript jquery | [3, 5] |
4,595,876 | 4,595,877 | Help needed to pass javascript result to serverside on page load | <p>I've got a Master page, which loads my Default.aspx</p>
<p>I need to get the browser version using </p>
<pre><code>function loadHiddenField()
{
document.getElementById("HiddenField1").value = document.documentMode;
}
</code></pre>
<p>The result of this needs to be passed to my Default.aspx page so th... | c# javascript asp.net | [0, 3, 9] |
3,427,975 | 3,427,976 | Execute python from php | <p>Say you have a class like this:</p>
<pre><code>class MyClass:
def __init__(self, var1):
self.var = var1
....
</code></pre>
<p>This class, in python, works only when you assign a value:</p>
<pre><code>x = MyClass("Hi")
</code></pre>
<p>So basically, my question is whether I can send a variable fro... | php python | [2, 7] |
5,665,492 | 5,665,493 | run jquery on php page open | <p>I have a jquery notification bar script that im using. I don't know the first thing about jquery and javascript, but anyway, heres the code:</p>
<pre><code><script src="jquery.bar.js" type="text/javascript"></script>
<script>
$("#msgup").bar({
color : '#FFFFFF',
background_col... | php jquery | [2, 5] |
5,560,279 | 5,560,280 | Is there a way to call [ScriptableMember] in Asp.Net via jQuery | <p>I know there's a way to call [WebMethod] via jQuery <code>($.ajax(...))</code>
I was wondering if it's possible to call [ScriptableMember] via jQuery.</p>
| asp.net javascript jquery | [9, 3, 5] |
357,355 | 357,356 | Setting div scroll bar as active when main window scroll is at bottom | <p>In a page I have div with vertical scroll bar. Main page has it's normal browser scroll bar.
When main window scroll bar is at bottom and user continues to scroll down div vertical scroll bar should continue scrolling.</p>
<p>Is there some jquery event to catch scroll or some other easy way to accomplish this?</p>
| javascript jquery | [3, 5] |
4,523,342 | 4,523,343 | Error while implemening single sign on in my asp.net application | <p>I am using single sign on method to redirect from on e website to another.I am using forms authentication in both sites and gave the <strong>validationkey</strong> in machine key tag in both webconfig.While i am redirecting i get this error " <strong>Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redir... | c# asp.net | [0, 9] |
3,976,263 | 3,976,264 | Expanding compressed div | <p><a href="http://jsfiddle.net/Y8MUF/" rel="nofollow">http://jsfiddle.net/Y8MUF/</a></p>
<p>It can expand the div when i click on it. How do i make it look nicer by adding a "See More" link then hide it when the div exapands and adjust the row height relative to the See More link?</p>
<pre><code>$(document).ready(fu... | javascript jquery | [3, 5] |
2,341,910 | 2,341,911 | Good javascript-graph library | <p>I need do create a pretty complicated graph in Javascript. It's a line-graph with dots that are click-able. I've looked at the google-api, and it just won't do. Also, it needs to be able to rendre several graphs in one window.</p>
<p>Would be really nice if it was powered by jQuery, since the rest of the project is... | javascript jquery | [3, 5] |
2,837,230 | 2,837,231 | javascript countdown timer new date | <p>I am using javascript for a count down timer</p>
<pre><code><script type="text/javascript">
$(function() {
var newYear = $(".HF").val();
alert('hehe' + newYear);
$('#countdown').countdown({ until:newYear, format: 'DHMS', layout:
'<div id="timer">' + '<hr />'... | javascript asp.net | [3, 9] |
3,222,587 | 3,222,588 | Adding a <br /> after a label only if label is visible. C# | <p>I have a chunk of code that on page load with populates some of or all of the following labels. It should have two labels per line ( needs a line break after each xData label). The problem I am having is that since the number of labels with data and set to visable on page load changes, the <code>br /</code> tags cau... | c# asp.net | [0, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.