Hi tsuji,
Thanks for that, can you esplain alittle more on what excatly you done?
Also how would you change my orginal code? How you give an example.
thanks
Hello everyone,
I have the following replace function:
item.value = item.value.replace(/[.](\s{1,2})?/g, ".").replace(/[.]/g, ". ");
Ok. My problem is and I'm not really sure where to start is that I want to only replace the full stops that have a Alphabetic character preceding it.
Any...
I just read somewhere that I would need at least 12 years experience within my field to be able to get a H1B visa.
I don't know why they makes things so hard.
Well I don't know much about visa, or being sponsored. That's why I have 6-8 month plan to find everything out.
I would be looking to be sponsored for a visa, that's for sure.
Hi,
I haven't really thought too much about where in America, certainly a major city. But i've just been speaking with someone and they told me if you don't have a Degree (Which I don't) it can be a huge dis-advantage.
I instead started work at 16 and have nearly 8 years in it. So experience I...
Hi all,
I would love to work aboard for a few years, and I'm thinking about applying for Web Development jobs in America.
Whats the best way to approach this?
Just before anyone asks I'm British, Male, 23. Have been in the web development industry for 7 years now.
I'm not looking for an...
Hi
You need to do an onload on the image to get the width & height.
This doesn't work for locally loaded images.
var image=new Image();
image.src="http://www.tek-tips.com/images/logo.gif"
image.onload=function() {
alert('W:'+image.width+', H:'+image.height)
}
Thanks
Smoogan
I need to do the same thing but with forward slashes, having a problem with it?
Should this work:
item.value = item.value.replace(/,(/{1,2})?/g, ",").replace(/,/g, "/ ");
??
Fixed it...
str = item.value;
var pattern1 = /, /g;
var pattern2 = /, /g;
var pattern3 = /,/g;
str = str.replace(pattern1, ",");
str = str.replace(pattern2, ",");
str = str.replace(pattern3, ", ");
item.value = str;
Ok... now i change the script so it will look less prettier.
item.value =...
Ok so that worked?
Sorry I should of explained a little more.. Ok...
So the page doesn't have to go to a .html, .asp file, etc you can place a # in the href, that simply calls it self. But this forces the window to jump back up to the top.
<a href='#' onclick='showhidemenu()'>show help</a>...
I can't actually get the above code to work... but I think if you change the code to this:
<a href='#help#' onclick='showhidemenu()'>show help</a>
<table class='data'>
<a href='help'>
This should give you your desired effect.
Adam
Hello,
I recommend do it via a cookie.
Ok very child page (iframe page) should create the cookie by having the following script in the <head> tag.
<script>
function createCookie(name,value) {
document.cookie = name+"="+value+"; path=/";
}
createCookie("usersAction","CHANGETHISNAME.html")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.