|
I've got a page that is using jQuery.
$("#start_date").val()
The above code returns the value of an box just fine on the Apache server. However, in IIS, it returns "undefined."
Are there special setup considerations that are needed for an IIS deployment...
Started by Chu on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The problem is most likely that in an ASP.NET application... .
Make sure that the jQuery script file is in a location that is accessible to the page - you can check to see if jQuery is present by testing for window.$ (assuming no other definition for $ exists) .
|
|
I've done very little work with Ruby, and have an app I've written in PHP. I would like to add some functionality which is available in open sourced Ruby code.
I could either try to translate the Ruby to PHP, or try mixing the two. Though I think the ...
Started by pedalpete on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
A more interesting (read: difficult) way to do it would be to use jRuby http://www.jruby.org/ and Quercus... .
May be you can turn the Rails part to REST API and use it gradually with PHP, though honestly there is no one reason to turn back from Ruby to PHP... .
|
|
If I post a comment like "hello there dog" it works great, but if there are any special characters like ' or " the comment is posted successfully to the database but the jQuery code is not displaying the comment in the list.
Thanks for any tips.
function...
Started by nobosh on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're preparing HTML in the server side, you need to make sure that all reserved HTML characters in user-controlled input are properly escaped, else it may... .
Try something like:
$.post("/feedback/ajax/insert/", {feedback: escape(textsubmitted)}, ...
|
Ask your Facebook Friends
|
Eight is Great – Most Valuable Link Building Service
My Old Threads With Reviews
Thread 1
Thread 2
Thread 3
Explained about image –
LA – Live Article
Pink Balloon – Social Bookmark
Its really good seo technique to get fast SERP.
Note: We do all seo work...
Started by evershine47 on
, 27 posts
by 10 people.
Answer Snippets (Read the full thread at wickedfire):
Especially considering it is all manual work and not just a fiverr rehash which, but the articles....
|
|
Howdy.
I need to get the distance from a lat/lng point to a line. Of course needs to follow the Great Circle.
I found a great article on this at http://www.movable-type.co.uk/scripts/latlong.html
but the code is not working right. Either I am doing something...
Started by Brad Mathews on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Are your angular measures in degrees? Perhaps they need to be converted using the usual formula:
2*π radians = 360 degrees
If you look under the formula for Haversine formula, you'll see this:
(Note that angles need to... .
Most trig functions need radians.
|
|
Hi All !
I have to code below - works great in IE and Opera, but does not work at all in Firefox / Netscape. Any ideas?
The problem is that nothing happens when clicking printer friendly.
<html> <head> <script type="text/javascript">...
Started by Fero on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Document.getElementById("printForm").submit();
document.forms["printForm"].submit();
<....
You have to get form by id, not by name .
And in the form tag write "action" not "ction".
I think you should use document.printForm instead of window.printForm.
|
|
I have the following line in my IsapiRewrite.ini file:
RewriteRule ^/test-url.asp$ http://www.google.co.uk/ [R=301,L]
But it doesn't do anything...
However, this DOES work:
RewriteRule ^/test-url.asp$ /
Is it a case of enabling Redirect or something like...
Started by Tisch on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Thanks guys..
However, the above suggestions do work on .htaccess Linux servers.
|
|
I'm using a silverlight 3 datagrid, and within it, I'm nesting related records in another control by using the rowdetails (visibilitymode = visiblewhenselected).
I really like how this works, but I'd much rather have the grid display the row details when...
Started by Dennis Ward on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Then I implemented a handler for the button like so:
... .
Dennis,
In case you haven't already found an answer to this, I wanted the same behavior and solved it by customizing the RowHeaderTemplate, which lets you throw a button in the header for each row .
|
|
I'm a senior developer and consider myself very good at what I do. I have high expectations for how I believe software should be developed. I'm having a hard time finding a place to work that shares a similar view on the software development process.
...
Started by Vinnie on
, 19 posts
by 19 people.
Answer Snippets (Read the full thread at stackoverflow):
Intermittently found work that's good or great in the sense you're talking about, often because I certainly dont want to work at a shop that hasn't the slightest respect for programming and throws standards and best-practices into....
|
|
I've been a PHP Dev for many years now, and it just dawned on me that maybe I could be using better development tools.
For example, my typical setup for development is
Notepad ++ Dev WAMP Server (local machine usually) CodeIgniter framework (lately I'...
Started by Jakub on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This is great.
Make each application accessible from outside my router by opening individual ports .
|