Hi,
I've developed a form with multiple fieldsets to represent steps in filling out the complete form. The fieldsets are shown and hidden by button click (one on each fieldset) but I want to validate each fieldset before the next is shown.
I'm new to JQuery and I'm having a bit of trouble. I found this guide ( http://encosia.com/2009...
If I have my application hosted in a directory. The application path is the directory name.
For example
http://192.168.1.2/AppName/some.html
How to get using javascript the application name like in my case /AppName.
document.domain is returning the hostname and document.URL is returning the whole Url.
EDIT
Thr app path could be mor...
I am working on Asp.Net Mvc and am creating a cookie using in one page.I want when a user moves to her page the cookie gets deleted.Further if the same page (in cookie was created) is refreshed the cookie should not be deleted.How can i achieve this.
...
I would like to do exactly what "google code prettifier" (syntax highlighting of code snippets in a web page) does, but on serverside using java.
Any ideas?
...
Hello,
I am having an odd problem on Windows whilst using any browser. When I make a request from my local machine to an external website with a JSON file. Apache receives an OPTIONS request rather than a GET despite GET being specified. After some research it looks like a cross site request issue however, most of the articles I found w...
hi,
In my site after i log in with a user, and when I try to logout or try to signin with different user, again it only log in with the same user. After logout also I remain in Same user.
...
Basically i am trying to set a session when a user clicks a specific button is this possible?
So i need to set this session
Session("TenHolStDateNewCheck") = "%"
When this link is clicked
<a href="availability.aspx" class="sidelink">blahblah</a>
thanks
Jamie
...
I an beginning an web application to log web-statistics (web requests, pageviews, etc) for my customers. Today more and more people are using ajax. So my question is, what is the best way to log an user visit. in javascript? or serverside? and then, what do i need to log? the page title? or the absolute url? or need customers choose thei...
Hi,
I have an hybrid application, it's basically a website running from the application folder inside a UIWebview.
The problem is that I was planning to update my website by downloading the whole website from internet and then replacing the old website.
Today I found that Apple now provides the App Store Review Guidelines and among ot...
My code works fine in FF/Chrome/Everything except IE(failed in both 7/8, didn't bother going furthur down). Due to restrictions, I cannot use jquery and am hard-coding the Javascript. The issue is with IE, I am getting "preventDefault is null or not an object". Hoping one of you has the answer, and here's relevant code:
AddEvent Method:...
I have a textarea, which will handle output, and a textfield which will handle user input.
Focus will be entirely on the input field.
I can't make it so that the user input field will add text when the form is submitted (enter key is pressed). It will only work if there is a button and this is clicked. How do I solve this issue?
Below ...
Is there a way to catch exceptions in JavaScript callbacks? Is it even possible?
Uncaught Error: Invalid value for property <address>
Here is the jsfiddle: http://jsfiddle.net/kjy112/yQhhy/
try {
// this will cause an exception ing google.maps.Geocoder().geocode()
// since it expects a string.
var zipcode = 30045;
v...
I have a SVG map of a city that when clicked, creates hidden elements in a div in my form.
I'm using the jQuery Validation Plugin to validate my form.
In order to make sure that the user has clicked on an area of the map, I thought to create a dummy hidden element inside where the normal hidden elements are and put the validation rule ...
Hi all,
Just wondering if someone can help me code the following.
I want to use a fading effect to rotate a series of images (7 in total), within the CSS and code already defined below:
<style="text/css">
.rotate {float: left;width: 160px;height: 215px;background-color: #FFFFFF;border: 2px solid #0066CC;margin: 0px 10px 10px 0px;text-...
Everytime a specific action is made in JavaScript for example this:
<script type="text/javascript">
$(function() {
$('#typing').keyup(function () {
switch($(this).val()) {
case 'containment':
// HERE
break;
}
});
});
</script>
inside the //HERE would be where the 'counter' was made. Then add 1 everytime the ca...
Is there any open source online WYSIWYG Editor for various XML documents? I think the style could be added by XSLT, but if there is an editor, wich uses some other way to assign style to an XML file, I'm intrested.
EDIT: I've checked Xopus, Jaxe, Vex, Oxygen, Bitflux already, but none of them are matches the conditions above (not openso...
My url on a page is like:
http://www.example.com/dir1/file.html?a=1
I need to extract:
http://www.example.com
how can I do this in javascript?
...
Hi, I have a series of buttons and some share the same icons. Presently I'm doing:
$("#addNewStory").button({icons: {primary: 'ui-icon-plus'}});
$("#addNewCampaign").button({icons: {primary: 'ui-icon-plus'}});
$("#addNewAdItem").button({icons: {primary: 'ui-icon-plus'}});
Is there a neater way?
Thx
...
I am utilizing the Google maps api v3 (Javascript).
I have made a code which displays various markers on the map, and finds the distance between the 'home' marker and each of the others.
It works perfectly.
On another page I need a map, 2 markers, and the route plotted between the two points.
I can/have got this code. I am using CodeI...
I have some jquery ui sliders you can see here
When you click the slider bar, the tic jumps to that part of the bar. This is great however the bar is very thin and easy to miss when you try to click it. I don't want to change the appearance but I am wondering if there is a way to make the click radius a little padded so if you click a f...