I generally HtmlEncode any user generated content that I render on my website, so ampersands etc. become & and so on, but was wondering, should this be done (from a standards point of view) to any dynamically generated meta descriptions, meta keywords etc throughout a site?
...
I need to show "x" number of cateogories in a menu (basically a hidden div that pop up when someone clicks on a nav menu called "Category"). No problem with the div, but I am struggling with arranging the categories in any form of order inside the div. I don't want it to be a single column list an stretch all the way down to the page, so...
Hi guys,
I am currently the programmer for an not-for-profit organization which specializes in tree restoration / planting trees.
Right now, we are developing a web app for our customers where each client can view its current purchases, the amount of trees that they have bought, and the exact areas where each tree is being planted.
Wh...
I need to execute a JQuery code when an element's class attribute is changed. For example, initially the element will be : <div class="my-class">. So, when a new class is added to this div, (i.e. <div class="my-class new-class">, I have to trigger a JQuery code.
How do I do this in JQuery? Is there event for attribute change?
...
Is there a way of adding paramaters to a web service call dynamically.
something like
Dim ws as new localhost.MyWebservice
ws.HelloWorld.Parmaters.Add(Paramater1)
...
I am creating a web application that I am developing for a client and I want to ensure that I maintain the rights to resell the application. How can I stop this client from licensing it himself?
Thanks.
Could something like this be used?
here http://www.developer-resource.com/sample-eula.htm
...
Hi,
I'm working on mobile web application targeted toward Webkit-based browsers on devices such as iPhone, Android, etc. I've noticed that when and iPhone switches from Edge to 3g or vice-versa a new IP address is assigned to the device, which makes sense.
The problem is that I'm connecting to a web application sitting on two Windows S...
My friend is starting a microfinance website and he wants my help with the site development. Obviously I would want to get some knowledge in HTML and CSS, but I'm not quite sure what else I should learn. I'm not clear on the advantages and disadvantages of using perl, asp, javascript, php, etc. are.
Also, I need to create a payment optio...
Hi,
I am trying to make a WDTV Live plugin in linux, which plays a video from a web url.
I have a url that is parsed from html source code. The problem is that the url is playable in XBMC, but it can't be play in all the media players. I checked xbmc log, and it looks like that XBMC creates a session to the movie url. Below is log from...
This is not a duplicate post. I've looked through similar questions on SO but didn't find the solution to my problem.
As someone has already suggested I should do the following to redirect www-url to non-www url (or vice versa):
Here’s the IIS7 rule to remove the WWW prefix from all incoming URLs. Cut and paste this XML fragment into y...
Hi,
I am developing quite large web app and it is probably good idea to use hotkeys for some common tasks. However I discovered that finding safe key combinations is a problem, regarding all different browsers and OSes. For example Chrome has such a long list of hotkeys that trying to use some kind of logical hotkeys scheme for my webap...
How would I go about making divs appear and disappear in sequential order? My plan is to have a 6 different divs: 1-6 appear in sequential order. Then after a couple of seconds, they will disappear (6-1) and reappear in sequential order again.
...
What is the difference between relative and absolute tags of div element ?
...
I have the following scenario:
The website presents the user with a list of choices. The user can vote for them. The user has 3 votes that he can spend. He can place all 3 votes on one item, or he can distribute them among multiple items. He can also change his vote placements later (the choices aren't fixed and a new, better choice mig...
I am writing a REST API where some resources are only available to specific users. What is the generally accepted mechanism for this? Amazon appears to use the Authorization header. Twitter uses Basic Auth, i believe.
what are the benefits and drawbacks?
...
I've read somewhere (can't remember/find where) an article about web usability describing when to use drop downs and when to use autocomplete fields.
Basically, the article says that the human brain cannot store more then the last five options presented to choose.
For example, in a profile form, where there is your current occupation, ...
How would I implement a word processor on a website I'm making? The point is I want a user to be able to type in text and it have syntax highlighting in the text box they're typing in. Could someone instruct me in how to do this?
...
Please recommend. I'm an ASP.NET MVC developer so would like technology-specific and high level books and also links to resources would be warmly received.
Thanks
...
Hi,
I would like to develop a token based authentication like live.com has. Can anybody suggest, how to proceed? Basically I will be having 1 website for authentication and create token to access other websites.
...
Hi,
I am trying to use the jquery get statement:
$.get(urlAddress+".asmx", { question: quest },
function(data){
alert("Data Loaded: " + data);
});
I don't know how to specify the method and how to get data
The HTTP headers are giving a 200 message (Ok) but I'm not getting any data back.
Any help please?
...