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,766,978 | 3,766,979 | how to automatically move in a website? | <p>What I'm trying to accomplish is whenever I click on my button It will read the link from the text file and open it in a browser, then in that opened browser I want to find a particular button and click on that.</p>
<p>Can anybody give me an idea how I can start this?</p>
| c# asp.net | [0, 9] |
5,824,656 | 5,824,657 | JavaScript JQuery setTimeout | <p>I'm a beginner in JavaScript and JQuery and I was trying to exercise something</p>
<pre><code>var activetab = 0;
$("li").click(function () {
$("#tabs-"+activetab).hide("slide", { direction: "left" }, 1000);
$("li").eq(activetab).css('background-color','white');
var index = $("li").index(this);
$("span").t... | javascript jquery | [3, 5] |
1,233,186 | 1,233,187 | Application Navigation | <p>I have been asked to create an application that would serve as an Employment Application for the company I work with. But I can not seem to figure out any way to set up navigation. The application is about 4 steps long and each step is on a separate page. The user should be able to go back to pages they have comp... | c# asp.net | [0, 9] |
5,493,641 | 5,493,642 | how to read html content from assets folder in android | <pre><code>try {
File f = new File( "file:///android_asset/[2011]011TAXMANN.COM00167(PATNA)") ;
FileInputStream fis= new FileInputStream(f);
System.out.println("_______YOUR HTML CONTENT CODE IS BELLOW WILL BE PRINTED IN 2 SECOND _______");
Thread.sleep(2000);
int ch;
... | java android | [1, 4] |
2,638,696 | 2,638,697 | Display image in full page with transparent background in web | <p>I want to display the image on click like it displays in <a href="http://www.espncricinfo.com/" rel="nofollow">http://www.espncricinfo.com/</a> at this website when you click on the image it opens in same full window with transparent background.
how i can do this.i'm developing a php website.
Thanks</p>
| javascript jquery | [3, 5] |
4,164,918 | 4,164,919 | cut completely and paste an element | <p>Can I cut (completely, with all styles and attributes) an element from a location and paste it in another location (like <code>body</code>) with jQuery?</p>
<p>Also, I want to place a string (or tag) in the old location, because I want to change its place to old location at the end of the script.</p>
<p>Can I?
How... | javascript jquery | [3, 5] |
2,280,959 | 2,280,960 | How to access a c# variable's value in an .aspx page and use it inside String.Concat method? | <p>Hi I have this in my code behind:</p>
<pre><code>string input = Request.Url.AbsoluteUri;
string output = input.Substring(input.IndexOf('=') + 1);
</code></pre>
<p>This is my .aspx page:</p>
<pre><code><asp:TemplateField ShowHeader="False" HeaderText="Some text">
<ItemTemplate>
<asp:TextBox ... | c# asp.net | [0, 9] |
5,173,911 | 5,173,912 | Replace string Jquery | <p>I am doing the following thing to replace some part of the string. I want to replace all three occurence of the string but it is not working.</p>
<pre><code> var hdnval = document.getElementById("hdnColgval").value = response;
$("#ddcolgs").val($("#ddcolgs").val().replace(/'+hdnval+'/g, response));
</code></pre>
| javascript jquery | [3, 5] |
3,387,177 | 3,387,178 | JQuery/JavaScript performance using $(this) | <p>I find myself doing a lot of this kind of JQuery:</p>
<pre><code>$('.filter-topic-id').each(function () {
var me = $(this);
if (me.text() == topics[k]) {
me.parent().show();
}
});
</code></pre>
<p>I store <code>$(this)</code> in a variable called <code>me</code> because I'm afraid it will re-ev... | javascript jquery | [3, 5] |
691,995 | 691,996 | How do you set report name from query string | <p>I am trying to set the report name for a telerik report from the query string.
I am using <a href="/activeReportViewer.aspx?reportname=activecases">Cases</a>
and I want to pass the reportname to the following line of code:</p>
<pre><code>report = new Volunteer.MainApplication.Reports.*reportname*
</code></pre>
<p>... | c# asp.net | [0, 9] |
5,317,337 | 5,317,338 | Accessing Request.QueryString[foo] is null but the URL shows the query string/parameter is right there | <p>I am calling an .aspx script through AJAX. In that script I am attempting to get a value from the query string using <code>Request.QueryString["i"]</code> but it always returns null even though, if I examine the Request object in debug mode, the query string <strong>IS</strong> right there.</p>
<p><strong>Whats goi... | c# asp.net | [0, 9] |
3,221,794 | 3,221,795 | Second occurrence of checkbox | <p>How to get the second occurrence of checkbox ?
Here is what I have tried:</p>
<pre><code><div id="form">
<label for="first">First</label>
<input type="checkbox" name="first" value="1" >
<br />
<label for="second">Second</label>
<input type="checkbox" ... | javascript jquery | [3, 5] |
765,241 | 765,242 | How can I access the value after a # in a URL? | <blockquote>
<p><strong>Possible Duplicates:</strong><br>
<a href="http://stackoverflow.com/questions/1032242/how-to-obtain-anchor-part-of-url-after-in-php">How to obtain anchor part of URL after # in php</a><br>
<a href="http://stackoverflow.com/questions/484113/is-it-possible-to-access-anchors-in-a-querystring-... | php javascript jquery | [2, 3, 5] |
862,634 | 862,635 | using php to check is a javascript file has been loaded? | <p>Can I use a script to check if a JS file is loaded? </p>
<p>I have a function, which places a form on a page with javascript controls. I don't know where the user will use this form, and it might be loaded several times into a page. It strikes me as the best way to handle things if the form itself loads the script... | php javascript | [2, 3] |
3,662,503 | 3,662,504 | Counting how many times my Android app has been opened | <p>I am developing an android app and I want to know how many times it has been opened. Is there a way to do this?</p>
| java android | [1, 4] |
1,604,230 | 1,604,231 | Score counter using PHP and JavaScript | <p>If I want to add a score counter to my website. for example if the user answers a question then it will be saved in a database and the correct answer is already saved in the same database table. I want to make a comparison between the answers. if the answer is correct the score raises. </p>
<p>I am planning to cod... | php javascript | [2, 3] |
2,220,787 | 2,220,788 | How to replace link with list element and then add new link in IE7/8 with jQuery? | <p>I can't control how the HTML is generated and need to put a string of links into a list and then add new links for each item.</p>
<p>I have simplified the code at <a href="http://jsfiddle.net/jhASu/" rel="nofollow">http://jsfiddle.net/jhASu/</a> and it works in Chrome/Firefox and IE9 but not in IE 7 and 8 (no new l... | javascript jquery | [3, 5] |
5,054,084 | 5,054,085 | C# java script code for checkexistring file in a folder code using uploadify | <p>I am able to upload file(s) from system to server using uploadify control(www.uploadify.com). Everything is working fine but thing is that I am not getting how to check the file existing or not in the server. I need help from you that how to check existing file(s) using java script or C# before uploading file(s) to ... | c# javascript asp.net | [0, 3, 9] |
2,273,074 | 2,273,075 | is it possible to change key layout inside android application? | <p>Can I change the layout of a bluetooth keyboard just inside my application? Or in other words rebind the keys?
For example: pressing "a" enters "s" and pressing "s" enters "a"</p>
| java android | [1, 4] |
4,129,281 | 4,129,282 | After function completes, redirect to URL | <p>I have a bit of HTML which is unfortanetly an inherited onclick:</p>
<pre><code><a href="http:www.intendedlink.com" onclick="tracker(this, 'HondaAccord');return false;">Buy a Car</a>
</code></pre>
<p>What I would like is for the image to be generated onclick, appened to the div <code>car</code> and the... | javascript jquery | [3, 5] |
2,633,980 | 2,633,981 | Create list html from selected text in Textarea | <p>I have found various examples of using jquery to wrap selected text from a textarea in html tags, but I would like to adapt this slightly to create a list when multiple lines of text are selected.</p>
<p>Currently the code below wraps the whole selection in the list tags but I would also like to replace all the car... | javascript jquery | [3, 5] |
1,558,483 | 1,558,484 | Page state is lost while refreshing the page | <p>In my webpage, there is a repeater control which holds an image and its description. After the page is been loaded, the user can reorder the images(Jquery is used for reordering divs).
After the reordering, if the user refresh the page or click any button, the page will go back to the previous state before reorderin... | c# asp.net | [0, 9] |
4,390,927 | 4,390,928 | URI Scheme definition? | <p>I'm working off this tutorial: <a href="http://www.developer.com/ws/article.php/10927_3833306_2/Creating-a-Home-Screen-App-Widget-on-Android.htm" rel="nofollow">http://www.developer.com/ws/article.php/10927_3833306_2/Creating-a-Home-Screen-App-Widget-on-Android.htm</a></p>
<p>It includes the following code:</p>
<p... | java android | [1, 4] |
5,717,962 | 5,717,963 | How can I call JavaScript function in a loop | <p>I would like to call JavaScript function many time . I have tried like that<br>
In Script </p>
<pre><code> function changeIt(strgr , idx) {
//SomeCode
return;
}
</code></pre>
<p>In C# </p>
<pre><code> protected void btn_Click(object sender, EventArgs e)
{
string strgr = 001;
... | c# javascript asp.net | [0, 3, 9] |
3,700,962 | 3,700,963 | Changing a control's style based on validation (ASP.NET) | <p>I've got a very simple form with the following troubled snippet:</p>
<pre><code><asp:Panel class="normal" ID="Panel1" runat="server">
<strong><asp:Label ID="Panel1Error" class="error" Visible="false" runat="server"/></strong>
<label for="TextBox1"><em>*</em> Don't leave ... | c# asp.net | [0, 9] |
4,160,197 | 4,160,198 | What is the C# equivalent for Java Socket.getInetAddress()? | <p>I am developing a http program in C# while referring to some source code written in Java! I would like to know if there is a C# equivalent way for the the method <strong>getInetAddress()</strong> . In other words how to get the ip address from a socket object in C# ?</p>
| c# java | [0, 1] |
5,927,726 | 5,927,727 | how can i trigger click function as auto (every 15 second) | <p>For example if i have a random div..</p>
<pre><code>$("#random").click(function{
$("#random").toggle("slow");
});
</code></pre>
<p>How can i trigger to click function as auto(every 15 seconds).</p>
<p>Thanks for helps..</p>
| javascript jquery | [3, 5] |
1,757,172 | 1,757,173 | Fading in appended elements one at a time | <p>I have an array with IDs and I am loading elements with these IDs from another page.</p>
<pre><code> $.each(idArr, function() {
var divline = '<div class="line" id="' + this + '">';
var url = 'allitems.php #' + this + ' div';
$('#the-list').append($(divline).load(url).hide().fadeIn(... | javascript jquery | [3, 5] |
5,825,023 | 5,825,024 | PHP development framework and ide (like asp.net) | <p>We have to develop an specific webpage with php and up until now we have used asp.net, the problem is that we arent able to take the tipical development steps in php.</p>
<p>For asp.net:</p>
<ol>
<li>Design interface (aspx/html) (With visual designer)</li>
<li>Create controls events (Button click, combo select etc... | php asp.net | [2, 9] |
2,180,498 | 2,180,499 | Jquery queue issue | <p>I have the following</p>
<pre><code>function test(){
var top = numGanadores + numSuplentes;
var cuponesList = itemsFromAnArray;
for (var g = 0; g < numGanadores; g++) {
$(cuponesList[g]).delay(2000 * g).queue(function (next) {
addNewRow('ganadores', this.parCedula, this.parNombre,... | javascript jquery | [3, 5] |
232,420 | 232,421 | Javascript Error (IE): Object doesn't support this property or method | <p>This code works PERFECTLY in Firefox, and in IE the line ending 'negative'); breaks. I have no idea how to fix it! Argghhh!</p>
<pre><code>$(".topline strong").digits().each(function () {
s = $(this),
c = "change";
if ($(s).hasClass(c) & $(s).text().replace(/%/gi, "") > 0) {
$(s).addClass... | javascript jquery | [3, 5] |
4,474,849 | 4,474,850 | ASP.NET: Page HTML head rendering | <p>I've been trying to figure out the best way to custom render the <code><head></code> element of a page to get rid of the extra line breaks which is caused by <code><head runat="server"></code>, so its properly formatted.</p>
<p>So far the only thing i've found which works is the following:</p>
<pre><co... | c# asp.net | [0, 9] |
4,823,259 | 4,823,260 | function callback to reload a jquery plugin | <p>im new to jquery/javascript and im trying to make a function callback to reload a jquery plugin. what would be the appropriate way to do that?</p>
<pre><code>$(function() {
var newHash = "",
$mainContent = $("#main-content"),
$el;
$("nav").delegate("a", "click", function() {
window.lo... | javascript jquery | [3, 5] |
3,518,176 | 3,518,177 | Populate a input with a date based on selected option (date today + days) | <p>How to do this using jQuery</p>
<p>i have a select like </p>
<pre><code><select id="Plan_Id" name="Plan_Id">
<option value="30">Month</option>
<option value="365">Annual</option>
</select>
</code></pre>
<p>then i have a input </p>
<pre><code><input name="date" id="d... | javascript jquery | [3, 5] |
2,928,050 | 2,928,051 | remove everything after a certain character | <p>Is there a way to remove everything after a certain character or just choose everything to that character, either way. my scenario is like this that its always gone be different amount of characters and im getting the value from a href and up to the ? </p>
<pre><code>like /Controller/Action?id=11112&value=4444
... | javascript jquery | [3, 5] |
3,049,509 | 3,049,510 | jQuery plug-in to remap numeric keypad | <p>Is there a jQuery plug-in to remap the "dot" key in the numeric keypad? The purpose is to make it print a decimal separator, rather than a dot, in languages that use commas or other characters. I'd like to mimic the behaviour of some desktop applications like MS Excel.</p>
<p>(It's okay to hard-code the output char... | javascript jquery | [3, 5] |
1,621,239 | 1,621,240 | how to create pluggable ASP.Net website? | <p>what are the best practices to create a site, with ability to develop plug ins for it ? </p>
<p>like you want to create a Blog module, and you want users or co developers to add plugins to extend this module functionality</p>
<p>thanks in advanced.</p>
<p><strong>Update:</strong>
man thanks so much for hte ultra ... | c# asp.net | [0, 9] |
1,143,498 | 1,143,499 | Calling C++ executable from JAVA | <p>I have poker bot written in C++. I want to compete it with another Poker Academy agent. In order to do that there is an API in JAVA namely "meerkat api". </p>
<p>I have no idea how to call my c++ executable from java api, how does one go about communicating with the independent c++ executable from within a java pac... | java c++ | [1, 6] |
5,503,734 | 5,503,735 | Retrieving exact clients time in C# | <p>Till today I am using <code>DateTime.Now;</code> function to save the time and data of users. Well, at later stage I used JavaScript to get the client's date and time to maintain Time Zone. But when I change my system's date and time and try that JavaScript. It show the changed time of my computer. I need how to get... | c# javascript | [0, 3] |
3,117,359 | 3,117,360 | Calling server side function from JS using hidden button | <p>I've came into a need of calling a server-side function from a javscript function.</p>
<p>As much as I know, this isn't really possible since JS is running on the client, thus it is only possible to call a static function (which is not in the same context).</p>
<p>I've read somewhere about the hidden button method... | javascript asp.net | [3, 9] |
3,537,039 | 3,537,040 | Which library/framework can be used for this specific project? | <p>I have a project, but I don't know which library that I could use for this project:<br>
<em>Project requirement</em></p>
<ol>
<li>Log into hotmail.com</li>
<li>Click on each email individually and take a specific link out of the email. </li>
<li>Copy and add the link i want into a txt file. </li>
</ol>
<p>I've use... | c# c++ | [0, 6] |
3,092,715 | 3,092,716 | Run JS function on page load if condition | <p>I have the following link which opens a dom window...</p>
<pre><code><a href='#inlineContent' class='defaultDOMWindow'>(edit interests)</a><br /><br />";?>
<script type='text/javascript'>
$('.defaultDOMWindow').openDOMWindow({
eventType:'click',
loader:1,
lo... | javascript jquery | [3, 5] |
4,454,704 | 4,454,705 | how to delete the content of text file without deleting itself | <p>I want to copy the content of file 'A' to file 'B'.
after copying done I want to clear the content of file 'A' and want write on file 'A' from it's beginning .
I can't delete the file 'A' as it is connected with some other task.</p>
<p>I was able to copy the content using java's file API(readLine() ), but don't kno... | java android | [1, 4] |
5,724,053 | 5,724,054 | WEIRD: jquery .show and .hide not responding or changing css of corresponding div | <p><a href="http://playerspace.com/test.html" rel="nofollow">Sample Code of my error</a></p>
<p>So as you can see in the above example, next to where it says "Disclaimer Question111", there is an expand/contract link. The script works halfway, in that the text change occurs, but it does not change the display css for ... | javascript jquery | [3, 5] |
4,885,788 | 4,885,789 | Can I compare two files: local and remote on http server without downloading? | <p>I want to compare two files (one file is located on local location and second is located on http server). Can I do that without downloading? I want to know that two files is completely the same.</p>
| java android | [1, 4] |
5,635,394 | 5,635,395 | LinkedList<T> (2.0): removing items iteratively | <p>I need to iterate through a <code>LinkedList<T></code> (in .NET 2.0) and remove all the items according to a given criteria.
It was easy way under Java, since I could do the following:</p>
<pre><code>Iterator<E> i = list.iterator();
while (i.hasNext()) {
E e = i.next();
if (e == x) {
// ... | c# java | [0, 1] |
2,213,568 | 2,213,569 | How to access javascript varibale which is set in jquery block? | <p>I've problem in javascript function, there are two variables which are declared in global scope of function and set within jquery plugin. How can i get these variable value out side of jquery.</p>
<pre><code> function GetDirectionFromCurrentLocation(StoreAddress) {
var positionStore = null;
var positionCurrent = nu... | javascript jquery asp.net | [3, 5, 9] |
5,988,855 | 5,988,856 | How does one post nested JSON using JQuery? | <p>I have an admin page for a store where a user can modify item data. I'm trying to implement something for the admin to add and remove images by dragging them to and from a div. </p>
<p>I can submit the data just fine until I add the "images" object to the mix as follows:</p>
<pre><code>$("#saveButton").click(funct... | javascript jquery | [3, 5] |
1,632,948 | 1,632,949 | Progress Dialog on anything else but the index | <p>Here is my code:</p>
<pre><code>public class MainActivity extends Activity {
WebView mWeb;
ProgressDialog mProgress;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// no need to use title bar
requestWindowFeature(Window.FEATURE_NO_TITLE);
// set web... | java android | [1, 4] |
2,192,239 | 2,192,240 | How to display something if variable is not set inside a each loop? | <pre><code>$.each(json.data,function(i,fb){
//some code here...
if (msg.length > 150) {
msg = msg.substr(0,200)+"...";
}
//more code here...
});
</code></pre>
<p>I have an issue here. If msg is not defined I got an error and I got nothing displayed on the browser.</p>
<p>Possible Sol... | javascript jquery | [3, 5] |
3,221,800 | 3,221,801 | Save base64 encoded image into the file in PHP | <p>I have the following code : </p>
<pre><code><?php
header('Content-Type: image/png');
$data = "iVBORw0KGgoAAAANSUhEUgAAAuAAAAI8CAYAAACwIh5dAAAgAElkZJgRCXxOAuIPzzTlg......";
define('UPLOAD_DIR', '/home/Desktop/image.png');
$img = $data;
$img = str_replace('data:image/png;base64,', '', $img);
$img = str_repl... | php javascript jquery | [2, 3, 5] |
3,821,573 | 3,821,574 | Getting object values from a LinkedHashMap | <p>So for my local data structure I have the following</p>
<pre><code>DataStructure ds = new DataStructure();
//Examples to put in the Data Structure "ds"
ds.menu_item.put("Pizza", new DescItems("A Pizza",2.50,4));
ds.menu_item.put("Hot Dog", new DescItems("A yummy hot dog",3.50, 3));
ds.menu_item.put... | java android | [1, 4] |
4,257,913 | 4,257,914 | Error in for loop in datatable | <p>I've got an error in a datatable , that I want to present it in the aspx code. (%>)</p>
<p>it throw me an exception : </p>
<blockquote>
<p>An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code approp... | c# asp.net | [0, 9] |
3,427,925 | 3,427,926 | how to convert char to int in java for android | <p>how to convert char to int in java for android</p>
<p>for example: </p>
<pre><code>int MyInt;
char MyChar = 'A';
</code></pre>
<p>how to insert the value 65 into MyInt ?</p>
<p>in C# it like: <code>MyInt = Convert.ToChar(MyChar);</code> </p>
<p>thanks</p>
| java android | [1, 4] |
5,986,307 | 5,986,308 | Find user is online or not | <p>In my project i have to implement an interface which shows whether a particular user is online or not as in social networking site(like orkut and facebook)</p>
| c# asp.net | [0, 9] |
4,581,654 | 4,581,655 | What Javascript / jQuery pattern is this to enclosing and hiding everything but still can alter the page? | <p>Did somebody come up with this pattern so it is a famous and well-known pattern?
I see this pattern for using Javascript / jQuery, such as in <code>init.js</code>:</p>
<pre><code>var Initializations = {};
Initializations = (function($) {
function doSomething(i, domElement) {
// ...
}
$(function() {
... | javascript jquery | [3, 5] |
3,218,185 | 3,218,186 | asp.net error CS0123: No overload matches delegate 'System.EventHandler' | <p>CS0123: No overload for 'addItems' matches delegate 'System.EventHandler'</p>
<pre><code>protected void addItems(System.EventHandler e)
{
DropDownList numDropDown = (DropDownList) Page.FindControl("DropDownNum");
foreach (numOption option in numConfigManager.numConfig.numOptions.Opt... | c# asp.net | [0, 9] |
5,129,316 | 5,129,317 | Displaying Soft Keypad Via Code | <p>How could I keep the keypad visible, or display the keypad for the next EditText views via. I would like to keep the keypad visible if the input is invalid. Or, in the case of valid input, display the keypad after requesting focus on the next EditText.</p>
<p>My validation:</p>
<pre><code>private boolean process... | java android | [1, 4] |
1,462,912 | 1,462,913 | In Android I am Getting BuildConfig.java but not R.java File | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6133186/r-java-missing-in-android-project-in-netbeans">R.java Missing in Android Project in NetBeans</a> </p>
</blockquote>
<p>In Android I am Getting <code>BuildConfig.java</code> file but it can not generate <... | java android | [1, 4] |
4,130,195 | 4,130,196 | Suggest a good Android development workflow | <p>I'm interested in developing android applications. I've a background of Java/Swing/C++/ajax developer so I think I may find myself at home. As I installed the SDK I noticed that I can't follow my usual java development scheme: building base libraries, then the final app. In fact I'd like to develop libs and test the... | java android | [1, 4] |
3,863,375 | 3,863,376 | script link not working on all browsers | <p>all my browsers give me a blank page when i put the embeded script tag in the header for jQuery or for all script tags. Does anyone know why that is, my src attribute is pointing in the write path. Does anyone know what I'm doing wrong or what the problem might be? I've tried two different jQuery libraries and Im st... | jquery asp.net | [5, 9] |
2,979,801 | 2,979,802 | How to add Dynamic Field in Dynamic Page in ASP.NET in C# | <p>I want to add one Dynamic Field as "ADD MORE SKILLS" which shows some Textbox and Label will come on clicking this link. You can see this kind of example on some Shine.com, TimesJob etc.....</p>
| c# asp.net | [0, 9] |
5,058,901 | 5,058,902 | how to identify rootpath for application server? | <p>In my .net web application I create a blank solution and add website and class library into it. All the website pages are in UI folder, so when I use</p>
<pre><code>'<%=ResolveUrl("~") %>'
</code></pre>
<p>in javascript, it returns '/UI/', but in application server I set website root at UI folder, so '<%=... | c# jquery | [0, 5] |
4,437,521 | 4,437,522 | PHP script for creating calendar table or jquery complete solution required | <p>Ok so this is what I want to make:</p>
<p><img src="http://i44.tinypic.com/eiwphl.jpg" alt="alt text"></p>
<p>red = booked</p>
<p>green = available</p>
<p>I have data in mysql in the format of:
<code>property_id, booked_from, booked_until</code> .</p>
<p>Before I start trying to create the correct loops etc to ... | php jquery | [2, 5] |
4,175,738 | 4,175,739 | Why is PHP function breaking my Javascript | <p>I have this scipt call:</p>
<pre><code>....
$objResponse->addScriptCall("my_script");
return $objResponse->sendResponse();
</code></pre>
<p>This works ok but if I try to send a php mail just before, the script is not called:</p>
<pre><code>...
$send =& $mailer->Send();
$objResponse->addScriptCall... | php javascript | [2, 3] |
3,681,818 | 3,681,819 | Reset all checkboxes on page without looping | <p>I was wondering if it was possible to reset all the checkboxes (mark them unchecked) on the page without looping using jQuery?</p>
| javascript jquery | [3, 5] |
438,330 | 438,331 | Why will this code not work in my production environment? | <p>The code below works perfectly in Dev and Stage environment but not Production. Stage and Prod are both on IIS7. I've confirmed that litTest is being set and shows on the page but the class never appears on the html control in prod. Im baffled!</p>
<pre><code> protected void lvQuestionList_ItemDataBound(object s... | c# asp.net | [0, 9] |
2,265,196 | 2,265,197 | What is the working of web Crawler? | <p>Will web crawler crawl the web and create a database of the web or it will just create a searchable index of web? If suppose it creates an index, who will exactly will gather the data of web pages and store it in database?</p>
| php python | [2, 7] |
4,270,584 | 4,270,585 | InnerText in Python | <p>Is there an equivalent to the c# <a href="http://msdn.microsoft.com/en-us/library/system.xml.xmlnode.innertext.aspx" rel="nofollow"><code>XmlNode.InnerText</code></a> Property in Python?</p>
<p>If not, is there a straightforward way to implement it in Python? I thought I found something <a href="http://www.chaingan... | c# python | [0, 7] |
3,900,031 | 3,900,032 | Most common or vicious mistakes in C# development for experienced C++ programmers | <p>What are the most common or vicious mistakes when experienced C++ programmers develop in C#?</p>
| c# c++ | [0, 6] |
3,121,039 | 3,121,040 | Get server time php and javascript | <p>I have this script
1- It gets the time of number of messages sent (time identified by client)
2- Compare it to now time (server time)
3- change the background of each message according to the time difference
Now i have a problem in updating the clock, i update it each second (ajax request) but i think it is making ... | php javascript | [2, 3] |
2,047,757 | 2,047,758 | javascript publish subscribe with callback | <p>Scenario :- a json with checked & unchecked item count needs to be sent to a common function which in turn does some basic validation or shows error. There are different function each handle by different css/js team which call this function & depending on the common function result (true/false) each team/mod... | javascript jquery | [3, 5] |
2,360,148 | 2,360,149 | On MultiThreading on the Android platform | <p><code>Multithreading on Android</code> is to some extent an easy task due to the various possibilities available for us.</p>
<p>However it would be nice to understand the difference between the approaches.</p>
<p><strong>What is the best way to multitask and based on what preferences is it the "best"?</strong></p>... | java android | [1, 4] |
739,807 | 739,808 | How to make an android app from a website with php backend | <p>there is login for my website.</p>
<p>3 pages which are used while logging into website are :-</p>
<p>1) login_form.html ( this html page has form in which users can fill data when they click submit it sends to login_validate.php)</p>
<p>2) login_validate.php ( this php page validates the input texts and if he is... | php android | [2, 4] |
625,275 | 625,276 | Boolean object in javascript returns true for "false" parameter | <p>I have a little problem.</p>
<p>I have situations where my ajax calss returns a string.</p>
<p>sometimes that string is "false"
i want to always convert that string value into a boolean
i tried : new Boolean(thatValue)</p>
<p>but it returns true even for "false" as a paremter</p>
<p>is there anyway to solve this... | javascript jquery | [3, 5] |
205,132 | 205,133 | How to Insert Data from DataTable to Oracle Database Table : | <p>I've data in <code>DataTable</code> with 2 rows and 3 columns. I want to insert that data into <code>Oracle</code> table. </p>
<p>How can I insert? please give me with some example.</p>
<p>And also</p>
<p>How can I pass datatable to storedprocedure in <strong>ORACLE</strong>...</p>
<p>I pass datatable in below... | c# asp.net | [0, 9] |
3,619,793 | 3,619,794 | JQuery Code not working in IE9 or lower versions | <p>EDIT*</p>
<p>In one of the pages in our website there is a pirate with a speech bubble that tells jokes. When the bubble is clicked the joke changes to another one at random in the list. For some reason this will not work in IE9 or lower. Can anyone tell me why?</p>
<p>I have checked the console and this error app... | javascript jquery | [3, 5] |
1,788,154 | 1,788,155 | Response an xml file in modal popup | <p>This code is in control.ascx and control is put in ModalPopup.aspx page.</p>
<p>First ai try with response.end() - this code throw exception.
After ai try coment this line, but nothing is hapen.</p>
<p>Browser is IE8</p>
<pre><code>try
{
//export
StringBuilder sb = ExportToExcelXml();
... | c# asp.net | [0, 9] |
1,124,747 | 1,124,748 | How to remove a div in the parent structure? | <p>I am trying to remove some elements using a link. The elements that I am trying to remove are in a link's parent div, but i cannot seem to remove them.</p>
<p>Here is the HTML:</p>
<pre><code> <div class="QR-answer-holder">
<label class="QR-answer-label">Enter an answ... | javascript jquery | [3, 5] |
5,123,510 | 5,123,511 | Confine validations to controls in gridview while updating(using command field edit,update,cancel) | <p>I am able to provide validations for the controls in grid view but those validations are also applied to the controls in the form.</p>
<p>My question is how can those validations can be confined to controls in gridview only? </p>
<p>i am using inbuilt commandfield (edit,update,cancel) as edit button. when i set pr... | javascript jquery asp.net | [3, 5, 9] |
4,418,806 | 4,418,807 | How to make a jQuery popup to ask for logging in or creating profile | <p>I finally got a jQuery popup to work, and now trying to give the user the option to log in or create profile</p>
<p>So far I have something very simple like this:</p>
<pre><code>var $dialog = $('<div>Please log-in or create a profile</div>')
.dialog({
autoOpen: false,
title: 'Login ... | javascript jquery | [3, 5] |
4,464,585 | 4,464,586 | Android Java Drawing multiple lines | <p>I already got my DrawView, but can only draw 1 line at one time. If i try drawing again the last line deletes, how can I "save" them?</p>
| java android | [1, 4] |
3,761,191 | 3,761,192 | Passing value to javascript from asp.net | <pre><code><script type="text/javascript">
function abc()
{
var id = document.getElementById('123');
var caption= <%=MyProperty %>;
}
</script>
</code></pre>
<p>code behind:</p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
Page.RegisterStartupScript(Guid.NewGuid().T... | javascript asp.net | [3, 9] |
1,321,831 | 1,321,832 | stop event after first time | <p>i am firing an event when im at a special scrollposition with <a href="https://github.com/protonet/jquery.inview" rel="nofollow">jquery.inview</a>. it works by adding classes if an element is in the viewport. in my script im saying the following</p>
<pre><code> var $BG = $('#BG')
$('#BG').bind('inview', function... | javascript jquery | [3, 5] |
2,868,437 | 2,868,438 | Problem with setInterval to call function | <p>I'm trying to get a simple script to work, but somewhere I must have done something wrong because it's not working! I just want to set an interval timing that call a function. Preciate some help. Perhaps not the best solution, but I'm new to this.</p>
<pre><code>$(document).ready(function() {
startInterval(); // a... | javascript jquery | [3, 5] |
2,343,920 | 2,343,921 | Replacing "HTML tag with content" with "content" | <p>I need to replace</p>
<pre><code><span class='foo'>bar</span>
</code></pre>
<p>with</p>
<pre><code>bar
</code></pre>
<p>using JavaScript / jQuery.</p>
<p>Note: tag content must be inserted exactly in the same place, where tag was.</p>
| javascript jquery | [3, 5] |
3,537,682 | 3,537,683 | Fade in Words from a Word Cloud Randomly | <p>I have build the a word cloud (you can check it out at <a href="http://www.cybernetiksolutions.com/wordcloud" rel="nofollow">http://www.cybernetiksolutions.com/wordcloud</a> )</p>
<p>Currently the cloud fades every word in all at one time. I would like to have the words fade in randomly from top to bottom. The idea... | javascript jquery | [3, 5] |
2,996,822 | 2,996,823 | jQuery prevent stop() from giving fixed height to element | <p>I have the following lines of code:</p>
<pre><code>$(".product-list .product").hover(function() {
$(this).find('.product-description').stop().slideDown("slow");
}, function() {
$(this).find('.product-description').stop().slideUp("slow");
})
</code></pre>
<p>Now the problem is, when I move fast enough, and ... | javascript jquery | [3, 5] |
2,718,213 | 2,718,214 | How can I find an element by its attribute value with jQuery? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/10882471/jquery-selector-with-specific-attribute">jQuery selector with specific attribute</a> </p>
</blockquote>
<p>I need to find an element with a specific data-field attribute value. Is it possible to do with... | javascript jquery | [3, 5] |
3,869,788 | 3,869,789 | jQuery not replacing html button with text for more than 1 user | <p>I have this piece of code written in jQuery and PHP:</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
$(".vote<?php echo $pid; ?>").click(function(){
$("span.vote_box<?php echo $pid; ?>").html("you have voted");
});
});
</script>
</code></pre>
<p>But it doe... | php jquery | [2, 5] |
3,726,470 | 3,726,471 | howto sort a asp:Table? | <p>is it possible to simply sort a asp:Table by columns?</p>
| c# asp.net | [0, 9] |
5,135,597 | 5,135,598 | How to turn my working JS jQuery from showing loading image for every new div to a global one | <p>below is my working script that shows results on two divs, based on the selection of the drop down list. </p>
<p>Every time that the user selects, appears one loading image, for each div.
Is there a way to have 1 loading image instead of 2 ? And when the pages are loaded, the image is removed.</p>
<pre><code> $... | javascript jquery | [3, 5] |
5,367,858 | 5,367,859 | Change value of an element by Index | <p>I can't find a solution for the following problem:
There's an element which should change when another element has been changed, when it has got the same index:</p>
<pre><code> $("input[bez='sbd_texte']").eq(index).val() = "test";
</code></pre>
<p>The "index" variable is ok, but I can't figure out how to change th... | javascript jquery | [3, 5] |
1,725,857 | 1,725,858 | toggle effect in jquery not working | <p>Please, why is this not working:</p>
<pre><code>$("#togglePanel").click(function(e){
$("#toolpanel").toggle(function(){
$("#orderMap").animate({marginLeft: 0, width: "100%"}, 500);
}, function(){
$("#orderMap").animate({marginLeft: "341px", width: "576px"}, 500);
});
});
</code><... | javascript jquery | [3, 5] |
5,852,429 | 5,852,430 | How to call javascript function of a web browser control of C#? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1437251/calling-a-javascript-function-in-the-c-sharp-webbrowser-control">Calling a Javascript function in the C# webBrowser control</a> </p>
</blockquote>
<p>I want to call a JavaScript function through C#, usin... | c# javascript | [0, 3] |
1,787,936 | 1,787,937 | How to addClass and/or animate an element inside an iframe | <p>I have created a widget that other people can load into their html via an iframe. Everything is working fine to load my custom js file (as the iframe src) into the iframe. I'm also loading jquery from ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js. My custom js then loads and parses some json at various... | javascript jquery | [3, 5] |
4,711,904 | 4,711,905 | remove eventhandler on ItemTemplate | <p>I want to remove the event handler of an ItemTemplate in asp .net. Here is the asp code </p>
<pre><code> <ItemTemplate>
<asp:RadioButton runat="server" ID="rdbAnswer" GroupName="Group" AutoPostBack="True"
OnCheckedChanged="rdbAnswer_CheckedChanged" />
</ItemTemplate>... | c# asp.net | [0, 9] |
4,412,208 | 4,412,209 | Developing native applications to run both on Android & iPhone? | <p>I'm new to mobile phones development, but I wonder whether there is any way to develop <strong>native</strong> apps (HTML-based apps is another story) that would run both on Android and iPhone? I know that there exist applications available for both OSs, so I wonder how are they ported/developed for both targets?</p... | iphone android | [8, 4] |
2,106,037 | 2,106,038 | Get culture based on language | <p>How can I get culture based on language ?
For example if I will pass language = CHS it will retrieve zh-CN based on National Language Support (NLS) API Reference: <a href="http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/goglobal/bb896001.aspx</a></p>
<p>I bel... | c# asp.net | [0, 9] |
5,270,528 | 5,270,529 | Problem loading remote script with jQuery multiple times in Firefox | <p>I have a script element in my webpage, something like this:</p>
<pre><code><script id="myscript"></script>
</code></pre>
<p>Now, from a javascript file, I'm doing something like the following:</p>
<pre><code>$('#myscript').src('http://foo.bar?callback=somefunc')
</code></pre>
<p>Now this remote scrip... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.