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,318,596
3,318,597
jquery textarea resizer not in POST?
<p>I'm using TextArea Resizer to allow the sizing of a textarea (similar to stackoverflow) found at <a href="http://plugins.jquery.com/project/TextAreaResizer" rel="nofollow">http://plugins.jquery.com/project/TextAreaResizer</a>.</p> <p>It works for the end user. However, when I submit the form, the textarea is no wh...
php jquery
[2, 5]
176,181
176,182
Android : Phone call detect when connected?
<p>i can use this code make outgoing call. </p> <pre><code>Intent dial = new Intent(Intent.ACTION_CALL); dial.setData(Uri.parse("tel:5556") ); context.startActivity(dial); </code></pre> <p>but how to detect whether the call is picked up or the call is refused to answer? i tried PhoneStateListener but not working. ...
java android
[1, 4]
969,636
969,637
jquery treeview expand given node
<p>Im building ul li list dynamically on the serverside code. How can I determine which node should be expanded when page is loaded ?</p> <p>Im using plugin: <a href="http://bassistance.de/jquery-plugins/jquery-plugin-treeview/" rel="nofollow">http://bassistance.de/jquery-plugins/jquery-plugin-treeview/</a></p> <p>th...
javascript jquery asp.net
[3, 5, 9]
1,806,530
1,806,531
javascript written before doctype is working. But it is written after doctype then it is not working
<p>I am writing some js code before doctype and this code generate one array. If i am writing this code inside of doctype or head tag then it is not working.</p>
php javascript jquery
[2, 3, 5]
3,405,589
3,405,590
jquery (javascript) refresh div
<p>Bear with me. I recently started implementing jquery at work. I created a new app already so I do have an understanding of what goes but I have not fully grasped it yet.</p> <p>I have this function below that is being called everytime someone clicks a checkbox in a table wrapped in a unique div id. Currently, the t...
javascript jquery
[3, 5]
3,106,933
3,106,934
how to check if a url is typed or coming from a click in php?
<p>is there a way for php to tell if an address is directly typed by user or coming from a click or any other method that in the end will result a php-generated page?</p> <p>this question is purely out of curiosity so the urgency is very, very low. but thank you if you want to spare sometime to answer. :D</p>
php javascript
[2, 3]
2,876,463
2,876,464
SQL user authentication web service
<p>Is it possible to authenticate user using a SQL database, containing users and passwords?</p> <p>What I want to achive is: I have as SQL database containig data for my app. This database also contains usernames, passwords and rights which are specific for my app. Also I have a middle tier WebService, which contains...
c# asp.net
[0, 9]
4,625,065
4,625,066
On second click; jQuery
<pre><code>&lt;div class="example"&gt; Test &lt;/div&gt; $('.example').click(function(){ $(this).css('color','red'); }); </code></pre> <p>When the code above get's clicked, it will apply the <code>.css</code>. Now what I need is for another bit of code (let's say <code>$(this).css('color','blue');</code>) to be app...
javascript jquery
[3, 5]
1,564,111
1,564,112
Cannot call method 'click' of undefined
<p>I am trying to implement a jQuery 'slide toggle'. At the top of the page (in the header) I have included:</p> <pre><code>&lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; </code></pre> <p>Then the code of the area is:</p> <pre><code>&lt;a href="#" id="morebutton" class="more"&gt;More&lt;...
javascript jquery
[3, 5]
528,262
528,263
Parse javascript function name from js file using javascript
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/11279441/return-all-of-the-functions-that-are-defined-in-a-javascript-file">Return all of the functions that are defined in a Javascript file</a> </p> </blockquote> <p>OK so i have a JS file in which i have a nu...
javascript jquery
[3, 5]
641,760
641,761
img SRC from first cell in a row with jquery
<p>i have a table such that each row is like this</p> <pre><code>&lt;tr&gt; &lt;td&gt;&lt;input/&gt; &lt;img id="foo" src="redMinus.png"/&gt;&lt;/td&gt; some more tds &lt;td&gt; &lt;a onclick="wow('foo',$(this))"&gt;&lt;/a&gt; &lt;/tr&gt; </code></pre> <p>I want to find out if the img in the first td has an src that ...
javascript jquery
[3, 5]
4,159,321
4,159,322
Return the text of each span using JQuery
<p>Im able to get the list of all spans having the attribute dir='somevalue', with the following jquery statement</p> <pre><code>$("span[dir='somevalue']") </code></pre> <p>I want the text of each span i.e. for example, <code>&lt;span dir='somevalue'&gt; text &lt;/span&gt;</code>, i need the value 'text', and i want ...
javascript jquery
[3, 5]
1,918,693
1,918,694
Slider takes multiple clicks to scroll
<p>I'm having some trouble with <a href="http://basic-slider.com/" rel="nofollow">BJQS</a> slider. It seems like the initialization is not happening properly. It takes a few clicks before the slider begins to scroll. Can anyone identify what I am doing wrong? Or is this a bug in the plugin?</p> <p><strong>HTML</str...
javascript jquery
[3, 5]
5,647,449
5,647,450
Java vs Android SDK
<p>I want to know how similar Java is to the Android SDK. I am aware that the Android SDK uses Java, but I'm also aware there are many different things like manifest files and XML files and whatnot. I want to know if the SDK is similar enough that if I were to make a simple <code>Swing</code> based GUI program, would I...
java android
[1, 4]
814,958
814,959
unable to get value from asp.net dropdownlist on page submit
<p>i am developing a website using asp.net 3.5.i have created a cascading dropdownlist for country,state,and city.I am filling the state and city using jquery and web service.</p> <p>But on page submit i am not able to get the selected value of state and city.it is returning blank.</p> <p>on page load i am using this...
jquery asp.net
[5, 9]
1,470,492
1,470,493
asp.net trigger for a checkbox control
<p>Hi All i am using the below code and wanted to make a button visible and invisible based on checkbox status. I am using the trigger to call a event where i will write code to make that button visible or invisible. If i use the below code i get an error like "System.InvalidOperationException: A control with ID 'chkDe...
c# asp.net
[0, 9]
5,103,261
5,103,262
jQuery / PHP mix up
<p>I have the following jQuery function in my PHP:</p> <pre><code>echo ' function myFunction() { return $.ajax({ type: "POST", url: "mypage.php", data: "name=John&amp;location=Boston" }); } $.when(myFunction()).then(function(data) { // handle data return someOtherFunction(da...
php jquery
[2, 5]
1,447,647
1,447,648
Jquery: basic function of datetimepicker .......Problem
<p>I want make datetimepicker in my project. Using jquery how it is possible? I have one text box, div and calendar. Once i focus on textbox, the calendar div gets fadein. Some way what i want to do is this: Once i click on calender the selected value should show in textbox and calender should hide. How?</p> <p>He...
asp.net jquery
[9, 5]
2,625,537
2,625,538
Implementing a Generic View Table Content ASP Page
<p>Am trying to build a web page that returns all columns in any table (audit tables) a user selects. Suppose I have 4 audit tables in my database namely <code>CustomerAudit</code>, <code>VendorAudit</code>, <code>InvoiceAudit</code> and <code>PaymentAudit</code> each with a different table structure. </p> <p>On a web...
c# asp.net
[0, 9]
4,029,292
4,029,293
file explorer in android
<p>I made a program for simple database with the database name "employee.db" but i'm not finding the file explorer where i can see that if database is created or not. while running the code i'm getting this :- [2011-09-09 14:52:19 - DatabaseExample] Failed to install DatabaseExample.apk on device 'emulator-5554': null ...
java android
[1, 4]
3,933,514
3,933,515
An error has occured: [object Object] error. ?
<p>The cause of the error in my code(<a href="http://jsfiddle.net/Gz39C/1/" rel="nofollow">DEMO</a>) and how to fix?</p> <blockquote> <p>An error has occured:<br> [object Object]<br> error</p> </blockquote> <p><a href="http://jsfiddle.net/Gz39C/1/" rel="nofollow">DEMO</a></p>
javascript jquery
[3, 5]
5,056,980
5,056,981
what tools do you use for writing jquery code and debugging your code?
<p>what tools do you use for writing jquery code and testing/debugging your code?</p>
javascript jquery
[3, 5]
3,887,717
3,887,718
How do I change an element (e.g. h1 -> h2) using jQuery / plain old javascript?
<p>Of course, there are a whole range of possible errors relating to document validity, but my immediate stumbling block occurs when changing a paragraph (<code>p</code>) into an <code>address</code> element. My current method is (more-or-less):</p> <pre><code>var p = $('p#test'); p.replaceWith('&lt;address&gt;' + p.h...
javascript jquery
[3, 5]
1,900,620
1,900,621
Is there a C# equivalent to File.separator in Java
<p>How does C# cope with file separators? Is it always assumed the file separator is "\" (or "\\" and does this have to be escaped like this?</p>
c# java
[0, 1]
1,670,310
1,670,311
Attach scroller to element in jQuery
<p>I have a modified jPlayer with a "Whats Playing" info bar.</p> <p>The info bar display echoed info from a PHP file. </p> <p>I need to attach a scroller to the info on that player bar but i cant seem to nail it.</p> <p>The scroller is on a separate js file.</p> <p><a href="http://www.maxvergelli.com/jquery-scroll...
php javascript jquery
[2, 3, 5]
1,350,748
1,350,749
How to target a php created div with jquery?
<p>I'm trying to grab the first <code>&lt;div&gt;</code> of a set created by a php command, the problem is I can't seem to get the function to work or run after the divs have been created.</p> <p>The php creates 5 <code>&lt;div&gt;</code>s when the page loads and i want to hide the first one.</p> <p>Thanks for any he...
php jquery
[2, 5]
3,221,450
3,221,451
How to make save as button disable in pdf viewer in browser?
<p>How to make save as button and print button disable in pdf viewer in browser?</p>
java javascript
[1, 3]
2,520,212
2,520,213
changing a link to a different link using jquery
<p>how to change this URL</p> <pre><code>&lt;a href="http://mydomain.com/products-page/bath-and-body/"&gt;link&lt;/a&gt; </code></pre> <p>to </p> <pre><code>&lt;a href="http://mydomain.com/bath-and-body/"&gt;link&lt;/a&gt; </code></pre> <p>removing the product-page slug from wp e-commerce</p> <p>so for example the...
php jquery
[2, 5]
1,807,599
1,807,600
javascript using a div created in script with plugin
<p>I have created a div using jquery and put some text in it:</p> <pre><code> var newdiv=$('&lt;div id="content"&gt;').append('some text here'); $("#wrapper").append(newdiv); </code></pre> <p>Now I am trying to use the plugin masonry on the div.</p> <p>I have added the following just below the above t...
javascript jquery
[3, 5]
3,355,850
3,355,851
Android - Http Get Request
<p>I'm trying to Get Request with code below but the stringbuilder is always null. The url is correct...</p> <p><a href="http://pastebin.com/mASvGmkq" rel="nofollow">http://pastebin.com/mASvGmkq</a></p> <p>EDIT </p> <pre><code>public static StringBuilder sendHttpGet(String url) { HttpClient http = new DefaultHt...
java android
[1, 4]
5,957,841
5,957,842
Pass multiple values to jQuery
<p>I built a for each loop that pulls back several rows from the database. Each row it pulls has a link, and a hidden input box with a value of posting_id. This link will work similar to a like button on facebook in a way. The hidden input box just stores the posting_id. When you click the "like" link, it sends over th...
php jquery
[2, 5]
1,040,033
1,040,034
Set default value for jQuery slider and override when needed
<p><strong>Background:</strong> I currently have a <strong>working</strong> jQuery slider on my website inside my .js file</p> <pre><code>$( "#slider-range-min" ).slider({ range: "min", value: 100, min: 1, max: 100, }); </code></pre> <p>I need to be able to override the "Value" from 100 to...
javascript jquery
[3, 5]
3,999,857
3,999,858
Create voice recognition app
<p>I need to develop an App witch detects voice when it´s running (not what are they saying, just if someone speaks) and if so, I need to launch an especific mp3 from my sd.</p> <p>I never developed for android/iphone but I need to especify my boss in how many hours it could be done.</p> <p>Is there any easy way for ...
iphone android
[8, 4]
5,134,999
5,135,000
Application stopped working unexpectedly. Please try again
<p>I am trying to display the name and number of a contact from android phone book, i have one contact stored in my AVD. can anyone tell me whats wrong with this code please...it is showing application stopped working Please try again...thanks in advance...</p> <pre><code>public class get extends Activity { pr...
java android
[1, 4]
1,043,703
1,043,704
Fade in/out js mouseover event
<p>I am looking to implement a mouseover event on my page for a menu - </p> <p>I have 3 titles to the left with a respective content div on the right where the related text appears.</p> <p>Having trauled all the forums for a working js solution, I have settled with:</p> <p><a href="http://flowplayer.org/tools/demos/...
javascript jquery
[3, 5]
5,552,617
5,552,618
Using Jquery fadeOut() how can hide this Msg box
<p>i am trying to close(<em>fadeout</em>) the message box when i click the close button. But here it is not working. help me to fix this.</p> <p>before it close automatically. if i click the close button the message box should hide. but here it is not working</p> <p>Here is my <a href="http://jsfiddle.net/sureshpattu...
javascript jquery
[3, 5]
4,359,588
4,359,589
If statement condition is met, but contents not executed?
<p>I've got an two <code>if()</code> statements, for which the conditions are both met with the default values in the <code>&lt;select&gt;</code> and <code>&lt;input&gt;</code> form fields I've tested this by assigning the values to a variable and writing the variable. (<code>0</code> and <code>Url</code>).</p> <p>How...
javascript jquery
[3, 5]
4,232,250
4,232,251
Jquery add property to appended div
<p>I'm using a slideshow plugin that lets me set the div in which I want image captions to appear. I'm creating the caption div dynamically in js using <code>append()</code> but the caption doesn't appear because I assume the div has to be in HTML prior to loading the js script.</p> <p>Append function in js </p> <pre...
javascript jquery
[3, 5]
1,763,145
1,763,146
Getting a div's background image with jQuery. Is there an inbuilt method to strip out the url() portion?
<p>I am using this code to get the background image of a div.</p> <pre><code>var bgImage = $('#content').css('backgroundImage'); </code></pre> <p>This is returning <code>url%28<a href="http://example.com/images/layout/content-trans.png%29" rel="nofollow">http://example.com/images/layout/content-trans.png%29</a></code...
javascript jquery
[3, 5]
4,800,664
4,800,665
Calling onserverclick from input type:file fails in Internet Explorer
<p>below are the code in my aspx files, i am trying to call onserverclick of hdnBtn from hdnBtn.click()</p> <p>the code belows work in Firefox and Chrome but not working in IE, any idea why? thx for helping</p> <pre><code> protected void Page_Load(object sender, EventArgs e) { btnBrowse.Attributes.Add("oncli...
c# asp.net
[0, 9]
1,155,924
1,155,925
Change Image with transition effects
<p>I have the following script that changes my image on a timer:</p> <pre><code>var da = setInterval( function() { var current_image = document.getElementById('node_picture').src; var image_index = current_image.substring(48,49); image_index++; if (image_index &gt; 4) { image_index = 1; }...
javascript jquery
[3, 5]
4,904,040
4,904,041
Using keystrokes as a variable in javascript (jQuery)
<p>I'm looking at using keyboard shortcuts on a webpage I'm creating. I found <a href="http://craig.is/killing/mice" rel="nofollow">Mousetrap</a> that will let me do multiple keystroke shortcuts (g then i, gmail style). But I need to be able to then listen for keystroke UNTIL enter is pressed. Then I need to be able to...
javascript jquery
[3, 5]
1,402,618
1,402,619
managing an array
<p>I want to save some that in an array and then use that . but the problem is that this is a large size data and I'm not sure if it's good idea or even possible to save all of that into an array . probably I should have some mechanism like deleting array items from the top ? </p> <p>this is an android application and...
java android
[1, 4]
2,054,209
2,054,210
Asp:table with Linkbutton in cells and page cycle
<p>I always seem to struggle with asp.net page cycle and dynamically created controls.</p> <p>I have a asp:table that is created in !isPostBack in page_load (i have tried creating it in page load, page_init onint)</p> <p>the table is created with cells that container a LinkButton:</p> <pre><code>LinkButton lb = new ...
c# asp.net
[0, 9]
5,952,751
5,952,752
AJAX validation "freezes" in jQuery?
<pre><code>function checkuser(user) { var ret = false; $.ajax({ type:'POST', url:'user.php', async:false, data:{'user':user}, success:function (data) { if (data == 1) ret = true } }); return ret; } </code></pre> <p>I use bvali...
javascript jquery
[3, 5]
1,341,534
1,341,535
How can I return a single value from an SqlDataReader?
<p>I forget to return value in single tier application.</p> <pre><code>public int Studentid() { try { SqlConnection con = new SqlConnection(connectionStr); SqlCommand cmd = new SqlCommand("SELECT s_id FROM student where name = + ('" + Request.QueryString.ToString() + "')",...
c# asp.net
[0, 9]
3,256,564
3,256,565
adding a combo box at run time - JQUERY
<p>i have added html elements at run time using append Code:</p> <pre><code>function addFormField() { $("#inputss").append("&lt;strong&gt;asif&lt;/strong&gt;"); } </code></pre> <p>but how can i add a select element at run time that looks like this..</p> <p>PHP Code:</p> <pre><code>&lt;select name="pre_re...
php jquery
[2, 5]
4,213,462
4,213,463
attempting to create a script that will create a border around specific element when i hover on it
<p>I would like to create a script that will create a border around specific element when i hover on it </p> <p>the code i attempted this with.. </p> <pre><code>(function(){ $(document.body).each(function(){ $(this).hover( function(){ $(this).css('border','1px solid blue'); }, function(){ ...
javascript jquery
[3, 5]
1,166,087
1,166,088
How to show Image In GridView?
<p>I am working on a live project in which I have to prepare an Admin interface. In this Admin Interface the Admin of the website can manipulate data and user images. Problem is that I am unable to show the image because I have saved image path in database in respect to associate userid. I am also able to show data bu...
c# asp.net
[0, 9]
1,823,937
1,823,938
Dynamically generated HTML code and window.open function
<p>This is 2003 VB code (asp.net) that I converted to VS 2010. It used to work fine in VS2003. Currently running on dotnet framework 4.0 with IIS 7.5</p> <p>There is a function <code>setdate</code> that ia defined in the <code>&lt;head&gt;</code> section of an aspx page</p> <pre><code>&lt;script language="java...
javascript asp.net
[3, 9]
4,452,992
4,452,993
how to iterate through a select object array
<p>i've a few select's with a array as the name attrib. This select can have multiple different values in different parts of the html, so i want to iterate through the values of the stored items in the name array.</p> <p>i've google for a few time and didn't find a good answer (also here in stack...), but does anybody...
javascript jquery
[3, 5]
183,383
183,384
How do you embed other programming languages into your code?
<p>Using C# for ASP.NET and MOSS development, we often have to embed JavaScript into our C# code. To accomplish this, there seems to be two prevalent schools of thought:</p> <pre><code>string blah = "asdf"; StringBuilder someJavaScript = new StringBuilder(); someJavaScript.Append("&lt;script language='JavaScript' &gt...
c# javascript
[0, 3]
2,019,858
2,019,859
Open a url in new tab using jquery on page load
<p><strong>Open a url in new tab using jquery on page load</strong> I want that a new tab open load a url on some page load.</p> <p>I am trying something like</p> <pre><code>&lt;a href="[SOME_URL]" id="new_lnk_opener" target="_blank"&gt;New Tab&lt;/a&gt; &lt;script type="text/javascript"&gt; $(document).ready(func...
javascript jquery
[3, 5]
2,477,171
2,477,172
Python web frontend, retaining interpreter state
<p>I have a python script that parses a large set of data into an internal memory structure, and implements various fetch functions on the structure.</p> <p>I want to built a simple web frontend for this script, with the condition that the data is only initialized/loaded once (since re-loading upon each fetch would co...
php python
[2, 7]
5,745,903
5,745,904
Allowing the user to comment/reply in a webpage?
<p>i am creating an ASP.NET C# web application and I am looking for the easiest way to do a comments system.</p> <p>I'll explain. </p> <p>I have a page containing Items (list items containing texts) </p> <p>I want the users to be able to click on one, and then he is allowed to reply or comment to it. and he can see ...
c# asp.net
[0, 9]
1,030,559
1,030,560
Get value of hidden input field in JS
<p>I need to get the value of a hidden input field using JS,</p> <pre><code> var credoff = parseInt($(this).children('input.credoff:hidden').val()); </code></pre> <p>which works fine in FF but does not work in IE, the input im talking of is the following...</p> <pre><code>&lt;input type='hidden' value='$row-&gt;co...
javascript jquery
[3, 5]
4,060,064
4,060,065
Remove part of string between two indexOf in javascript
<p>How can i remove from a string between two <code>indexOf</code> </p> <p>i have this <a href="http://jsfiddle.net/minagabriel/ertcp/" rel="nofollow">jsFiddle</a></p> <p>here is my code : </p> <pre><code> var x = "M 178.6491699876038 23.419570090792845 C 183.6491699876038 23.419570090792845 186.47776067057902 30.9...
javascript jquery
[3, 5]
426,804
426,805
How can I manipulate just the color of a -box-shadow with jquery?
<p>Im attempting to set a box-shadow color using <a href="http://bgrins.github.io/TinyColor/" rel="nofollow"><strong>tinycolor</strong></a>. I know I can use </p> <pre><code>$("CLASS").css("box-shadow", "VALUE"); </code></pre> <p>But I would like to add the color by using tinycolor (a color manipulation framework) on...
javascript jquery
[3, 5]
5,427,545
5,427,546
Cleanest way to tell if 3 times are within half an hour of each other
<p>I have 3 date / time input boxes on a form and the user cannot select any times within half an hour of each other.</p> <p>I've converted all values to epoch format using a Javascript implementation of strtotime, but not sure how to recursively check that any of the times are actually half an hour apart.</p> <p>I c...
javascript jquery
[3, 5]
836,240
836,241
DropdownList getting SelectedValue
<p>How do I bind the selected value of the drop down list and assign it to @TimeZone as currently when I select it, @TimeZone is null. </p> <p>Here is my code:</p> <p>Within my page load, I have the following code that assigns value to the drop down:</p> <pre><code>ddlTimeZone.DataSource = from p in TimeZoneInfo.Get...
c# asp.net
[0, 9]
1,207,926
1,207,927
jQuery: if a number is between two values
<p><strong>Disclaimer:</strong> I'm aware that this answer has been asked before on this website, but with that being said I couldn't find an answer to my specific question. </p> <p>Any ways, In jQuery, I'm telling the browser to do anything if the window size is greater than 500px. I do it like so..</p> <pre><code>...
javascript jquery
[3, 5]
5,741,693
5,741,694
can not read object property in javascript
<p>Trying to hide the left / right navigation text by listening to object &amp; its properties.</p> <p>working example : <a href="http://jsfiddle.net/ylokesh/9EyEu/29/" rel="nofollow">http://jsfiddle.net/ylokesh/9EyEu/29/</a></p> <p>But, getting following error " Uncaught TypeError: Cannot call method 'hide' of undef...
javascript jquery
[3, 5]
3,988,445
3,988,446
HorizontalAlign in gridview dynamically
<p>I have a <code>GrdiView</code> on an asp.net page. I am setting the datasource to a <code>DataTable</code>. I need to set <code>HorizontalAlign</code> to left if the value in the cell is of type string, else if it is a decimal, I want it to be aligned to the right. Please let me know how to implement this. The code ...
c# asp.net
[0, 9]
740,478
740,479
Jquery date comparison
<p>Hi iam using the following code for comparing the entered date with current date... But it is not working...</p> <pre><code>$('#&lt;%=txtOrderDate.ClientID%&gt;').change(function() { var date = $('#&lt;%=txtOrderDate.ClientID%&gt;').val(); var arrDate = date.split("/"); var today...
javascript jquery
[3, 5]
1,353,038
1,353,039
access previous page viewstate in current page using response redirct?
<p>Is it possible to access the viewstate define in page1 from page2. Page1 is having response.rediect to page2.</p> <p>I don't want server.Transfer solution.</p>
c# asp.net
[0, 9]
3,999,227
3,999,228
Asp.net onclick event with jQuery?
<p>I am working with Asp.Net. asp:button's OnClick event like the below. I would like to have jquery call "Save_Click' event. Is it possible?</p> <p><strong>Home.aspx.cs code</strong></p> <pre><code>protected void Save_Click(object sender, EventArgs e) { //code to update database goes here.... } </co...
jquery asp.net
[5, 9]
2,585,991
2,585,992
Can I manage the AlarmClock in Android from my application?
<p>I develop an application which must manage the Alarm Clock in Android. I specifically need to do the following:</p> <ul> <li>execute some code in my application when the user sets an alarm (also find out the time of the alarm at the moment of execution);</li> <li>cancel an alarm when the user pushes a specific butt...
java android
[1, 4]
5,181,594
5,181,595
Android Implicit and Explicit Intents
<p>When use an Implicit Intent vs an Explicit Intent?</p> <p>For this Implicit Intent:</p> <blockquote> <p>Intent searchintent = new Intent()<br> searchintent.setAction(Intent.ACTION_VIEW) searchintent.setData(Uri.parse("http://www.google.com")) startActiv...
java android
[1, 4]
2,058,150
2,058,151
jquery - find first previous node with certain properties
<p>regardless of parent/child-relations etc, how do I find the node closest above $(this) node with a certain property, for example class="field"?</p>
javascript jquery
[3, 5]
810,475
810,476
No generic method 'Where' on type 'System.Linq.Queryable'‏
<p>am getting the following error on the code below. "No generic method 'Where' on type 'System.Linq.Queryable' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic."</p> <p>I've search the web for solution without much help. The following prob...
c# asp.net
[0, 9]
883,047
883,048
Convert existing C++ (.h and .cpp) files to java for Android
<p>I am developing for Android under Eclipse. I have some c++ (.h and .cpp) files that I wish to use in my Android application. I have read <a href="http://home.pacifier.com/~mmead/jni/cs510ajp/index.html" rel="nofollow">Programmming in C/C++ with the Java Native Interface</a> and now I know how to make .so file and im...
java c++ android
[1, 6, 4]
3,927,289
3,927,290
Topic is related to ckeditor inlineall
<p>ckeditor inlineall will highlight the divs if it contains attribute <code>contenteditable="true"</code>. I can get data using <code>CKEDITOR.instances.editor1.getData();</code></p> <p>But how can i get data if my page contains 100 divs with that <code>contenteditable</code> attribute. And how to get number of these...
php jquery
[2, 5]
3,728,719
3,728,720
JQuery - Binding / Appending to document.ready
<p>I am working on a ASP.NET MVC 3 application that is using JQuery. In this application, I have my _Layout.cshtml file and MyView.cshtml. In _Layout.cshtml I have something like the following:</p> <pre><code>&lt;div id="wrapper" style="background-color:Gray; height:100%;"&gt; &lt;div id="content" style="background-...
javascript jquery
[3, 5]
5,943,485
5,943,486
Confirmation before deleting (jquery)
<p>I would like to show a simple confirmation dialog box show before running a delete function.</p> <p>Here is what I have so far</p> <p>HTML:</p> <pre><code>&lt;!-- Delete Confirmation Dialog Box --&gt; &lt;div id="confirm" style="display:none;"&gt; &lt;div class="message"&gt;Are you sure you want to delete?&lt;/...
javascript jquery
[3, 5]
106,388
106,389
Prevent a function from being fired too rapidly
<p>I have a function. It is being triggered from many other functions in the script. Sometimes very rapid and maybe almost simultaneously</p> <p>How can I prevent it from being triggered too rapidly within short time? By setting a delay or timer of some sort? I want to minimize the database calls the function is makin...
javascript jquery
[3, 5]
1,764,331
1,764,332
I moved part of code to the class. Now I get runtime error
<p>I had a working C# 2010 WEB app.<br> I moved part of code to a new class as follows:</p> <pre><code>namespace ShowDiagram1 { public class MyDraw : WebForm1 { public void DrawPicture () { ... bitmap.Save(Server.MapPath("pic1.jpg"), ImageFormat.Jpeg); Image1.ImageUr...
c# asp.net
[0, 9]
880,184
880,185
android Images in r.raw
<p>is there any way of forcing app to install in SD card. i have user User permission in manifest file but still drawable and database is coped in internal memory.</p> <p>then i came to know that that only RAW folder will be saved in SD card </p>
java android
[1, 4]
915,983
915,984
jQuery create and remove <div> by click
<p>Hi I try to wirte a function, which enables the user to create a when he clicks on a certain area of the site, and when he clicks on that created div again, it gets deleted. Somehow I can only create divs and when I click them, a new one is created instead removing of the clicked one. I also implemented a function ...
javascript jquery
[3, 5]
2,161,918
2,161,919
Fade in from a background to another one
<p>Let's say my element has background-image:background1.png.</p> <p>How can I make the element's background fadein into background2.png without fading the first one out.</p>
javascript jquery
[3, 5]
5,085,276
5,085,277
Running cpu intensive task in android device
<p>I am developing an app in android in which I need to monitor CPU usage vs power consumption. In order to do that I some thing weird:</p> <p>I need to run some computationally expensive task, which can use as much CPU as possible.</p> <p>I dont want that task to use any other component like LCD, audio, wifi etc.Jus...
java android
[1, 4]
545,168
545,169
How can i select the 3rd the same element as others inside another element in jQuery?
<p>I have this code and i wan't to select the 3rd element inside it:</p> <pre><code>&lt;body&gt; &lt;div&gt;First element&lt;/div&gt; &lt;div&gt;Second element&lt;/div&gt; &lt;div&gt;Third element&lt;/div&gt; &lt;/body&gt; </code></pre> <p>How can i do this in jQuery?</p>
javascript jquery
[3, 5]
1,685,067
1,685,068
jquery ajax not catching error when posting to an aspx page
<pre><code>$.ajax({ type: "POST", url: "/zzz/bbb/abcd.aspx?deleteIDs=" + request_ids, contentType: "application/x-www-form-urlencoded", data: '', dataType: "html", complete: function(xhr, status) { if (status == "success") { } else { } } </code></pre> <p>The jquery code above has its status ="su...
jquery asp.net
[5, 9]
4,434,334
4,434,335
datagrid control in asp.net
<p>Hi i have one datagrid in my webform. I want to increase columns in the datagrid based on the data values comes from data values with help of scroll bar. </p>
c# asp.net
[0, 9]
1,072,278
1,072,279
How to display a message on the first press of a button?
<p>I need to display the message with first time the button is pressed only. If I press the button again, it will redirect me. How to do in javascript? </p> <p>I have submit button, first time press button it will show the message. Pressing the same button the next time should NEVER SHOW the message, it should forward...
javascript jquery
[3, 5]
879,453
879,454
Ignoring delay when a key is held down?
<p>Checked out other posts, no help...</p> <p>I'm using asdw to move an object around within a limited space. I'm trying to figure out how to allow the object to move around while the key is pressed, without the momentary delay at the beginning.</p> <p>Thanks...</p> <pre><code>$(document).ready(function(){ var ...
javascript jquery
[3, 5]
5,069,497
5,069,498
problem with onclientclick and postbackurl
<p>I want to trigger on click of a button this:</p> <pre><code>&lt;asp:Button runat="server" ID="submit" Text="Submit" OnClientClick="country(this.form);" PostBackUrl="http://www.google.com/" /&gt; </code></pre> <p>In javascript I m checking validation of the form.The problem is when I m clicking on the button it is...
asp.net javascript
[9, 3]
1,241,812
1,241,813
How can I restart my application after rebooting of device?
<p>I have made Android application which uses one background service. It works good, but if user reboot his device that my application will be stopped. How can I fix it, i.e. how can I restart my application after rebooting of device?</p>
java android
[1, 4]
1,419,053
1,419,054
How to load an assembly outside my web app's bin directory
<p>I want to load my assemblies from a location other than the bin folder.</p> <p>How can I accomplish this ?</p> <p>Thank you </p>
c# asp.net
[0, 9]
658,582
658,583
javascript issue in sharepoint
<p>I am having issues making a <code>javascript</code> work. Basically i just use this script for different web parts which have the <code>.q1table</code> class to insert some other classes.</p> <p>I am getting an error uncaught type error Property $ of object[object window] is not a function.This works fine when the ...
javascript jquery
[3, 5]
4,167,573
4,167,574
Something Wrong?
<p>When I run the following code:</p> <pre><code>&lt;html&gt;&lt;head&gt; &lt;title&gt;Code&lt;/title&gt; &lt;script type="text/javascript"&gt; var height = "&lt;?= $height ?&gt;"; var width = "&lt;?= $width ?&gt;"; if (self.parent.frames.length &amp;&amp; self.parent.frames.length != 0) self.parent.location = docum...
php javascript
[2, 3]
1,911,961
1,911,962
Is it possible to cancel body onunload action after the page is loaded?
<p>So I have a page that has the following in its body tag:</p> <p>In the iframe...</p> <pre><code>&lt;body onunload="parent.foobar();"&gt; </code></pre> <p>...</p> <p>Is it possible that later in the page, I build a click function like this:</p> <pre><code>&lt;a href="#" onclick="NoFooBar();"&gt; Do not run fooba...
javascript jquery
[3, 5]
2,224,529
2,224,530
JS /JQuery Form Submit Delay?
<p>I've implemented this 'locksubmit' plugin <a href="http://blog.leenix.co.uk/2009/09/jquery-plugin-locksubmit-stop-submit.html" rel="nofollow">http://blog.leenix.co.uk/2009/09/jquery-plugin-locksubmit-stop-submit.html</a> where it changes the display state of the button to disabled. I then want the form to be delayed...
javascript jquery
[3, 5]
2,978,921
2,978,922
Is there any PHP Plug in for uploading an image in ckeditor?
<p>I want to upload an image in ckeditor without using their inbuilt image upload.</p> <p>Please suggest me if there is any other plugin in php for uploading an image which supports CK editor.</p>
php javascript jquery
[2, 3, 5]
5,588,954
5,588,955
loading and displaying 15000 images effectively
<p>I am working on an application in php in which I am extracting the 15000 images' information from MySQL database, and displaying them on a page. </p> <p>How can I display 15000 images effectively without scrolling the page or clicking on a button? Right now I am using a nested loop that creates 125 rows and 125 col...
php javascript
[2, 3]
5,290,655
5,290,656
disable browser back button using C#.net
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/87422/disabling-back-button-on-the-browser">Disabling Back button on the browser</a> </p> </blockquote> <p>i want to disable browser back button without using javascript function forward(). because it remain on ...
c# asp.net
[0, 9]
5,416,517
5,416,518
Visibility.js - How to usefall back?
<p>I have looked for a solution on How to check active tab in javascript/jquery and I found this post.</p> <p><a href="http://stackoverflow.com/questions/12489986/how-to-check-active-tab-in-javascript-jsquery">How to check active tab in javascript/jsquery?</a></p> <p>I tried using the plugin at <a href="https://githu...
javascript jquery
[3, 5]
4,210,133
4,210,134
how to run javascript code in browser
<p>I had a java script code in asp.net ,It's works fine in all browser but when javascript is disabled in browser the script is not working ,so can anyone suggest me where to write the code</p>
javascript asp.net
[3, 9]
2,573,985
2,573,986
Pass string parameters to master page
<p>Hi folks<br /> I'm using C# language Asp.net version 3.5 I have a masterpage and pages which they use master. I think there are three ways to implement my application with ability passing parameters between controller to pages.<br /> <br /><b>First Way :</b> I need to pass a string parameter from page to master how ...
c# asp.net
[0, 9]
541,721
541,722
Convert C++ code function to C#
<p>I have to write algorithm for my job and I found some solutions in the Web, but it`s written on C++ and I need this on C#.</p> <p>I`m not so good on c++ and I waste a lot of time in order to convert from one language to another, I almost finished but I have some trouble with this function</p> <pre><code>double spr...
c# c++
[0, 6]
3,847,596
3,847,597
How to get the response from a modal dialog?
<p>I currently have this:</p> <pre><code>Builder yesandno = new AlertDialog.Builder(this); yesandno.setTitle("QuickResponse"); yesandno.setMessage(message); yesandno.setPositiveButton("YES", null); yesandno.setNegativeButton("NO", null); yesandno.show(); </code></pre> <p>How should I go by setting an event...
java android
[1, 4]