|
I already install it in the server
but still i have this Error
where in the computer where i develop my project it run greatfully
Any other idea will greatly appreciated
Thank s for your help
Assaf
|
|
|
|
|
if the textboxbox hv a max length of 200 char,when we type 1 character,we should display the remaining character amount....can any body help me
swaroopcgopal
|
|
|
|
|
Check this[^] or this[^]
"If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry
|
|
|
|
|
Hi
I have the below script
When I use the xml.load method it is always shows Response Code as "200"
However the Content expiration is set to 2 days.
My Question is how to force the script to use the cached xml file when the file is in the cache?
Tested in MSIE 7.0
if(document.all)
var xml = new ActiveXObject("Microsoft.XMLDOM");
else
var xml = document.implementation.createDocument("", "", null);
var xmlObj;
function verify()
{
if (xml.readyState != 4)
return false;
}
function loadXML()
{
xml.async=false;
xml.onreadystatechange=verify;
xml.load("http://"+document.location.host+"/xmlstore/test.xml");
}
function createDocument()
{
xmlObj=xml.documentElement;
}
//loadXML()
//createDocument()
//alert(xmlObj)
Raj..
|
|
|
|
|
Hi All,
Google Gears concept is used for teh project I'm working on.
It(Google Gears) supports SQLite database.
For this I'm able to insert data into the database using IE.
There is a bit problem with Firefox.
Every thing is going well with alerts in the front end. But, unable to find the records in the backend
(SQLite database.)
Can anyone please help me out on this????
|
|
|
|
|
|
Hi All,
I am displaying a anchor tag in a table which is created dynamically using Javascript.
Below is the code for it.
var EmpID = "E000011";
.
.
.
.
Td = document.createElement("td");
var anchorTag = document.createElement("a");
anchorTag.setAttribute("innerHTML",EmpID);
anchorTag.setAttribute("href","example.html?EmpID="+numEmpID);
Td.appendChild(anchorTag);
Tr.appendChild(Td);
.
.
.
.
This is working well in IE. Coming to Firefox the link button itself is not getting display.
Can anyone help me out????????
Thanks,
Shravanthi...
|
|
|
|
|
Hi,
Try :
anchorTag.innerHTML = EmpID;
instead of :
anchorTag.setAttribute("innerHTML",EmpID);
|
|
|
|
|
Thanks for the answer.....We have already done with that
|
|
|
|
|
Hi,
In the app that I'm working on, the users always need to log-in after being idle for a certain amount of time. My understanding is that this happens because of the <sessionstate timeout="20"> set in the web.config file.
Is there a way to change this so that the user's credentials will only expire when the browser is closed? Do I just set timeout to 0?
Thanks.
Rafferty
|
|
|
|
|
Rafferty Uy wrote: Is there a way to change this so that the user's credentials will only expire when the browser is closed? Do I just set timeout to 0?
No.
You can indeed set the timeout in web.config - but not to 0. The setting there is in minutes. Increase it as you will, but a note of caution: the higher the number, the higher the memory requirements you're putting on your server. In today's world that's probably not something you need to worry about too much unless your site is quite busy...
link[^]
|
|
|
|
|
I see, but is this something that I would want to do? I mean... I only want the session to live as long as the browser is open. If I set the timeout to a higher number, the session will persist even if the browser was closed and reopend right?
And should the sessions really be on the server side? (It's been quite a while since I haven't developed a web app, years ago, sessions used to be on the client side, residing on the browser)
Rafferty
|
|
|
|
|
Read the link I gave - it explains the Session Object in some detail. But the whole point of having a Session Object is to maintain a link between the client and the server, otherwise a server has no way of telling any particular browser's request from anyone else's. In effect, Session variables are cookies (that expire when the browser closes...) sent back to the server on each page request - and the server keeps a record to match against them, but expires this after the Session Timeout period (to avoid an ever increasing drain on resources.)
This is why, if you wait too long between page requests, although your "session cookie" gets sent to the server, it can no longer match it and so tells you your session has expired. And if you close your browser down, of course, your sessins cookies are lost anyway and so can't be sent back to the server on your next request.
|
|
|
|
|
I didn't notice the link. Thanks! This is very helpful.
Rafferty
|
|
|
|
|
Hi all.
How can I send a Form with AJAX (Post method)?
It means is there a free AJAX script about it
Thank you
|
|
|
|
|
Hi,
I suggest using one of these frameworks : ExtJS, Prototype, Dojo, Scriptaculous...
It would make it much easier.
|
|
|
|
|
I have a iframe in my page a.html, the iframe points to page b.html, every time when the page loaded completely, the iframe display the top of page b.html
My request is to scroll down the iframe so to display the bottom of b.html when page loaded
I can invoke below javascript when body.onload event occur:
windows.my_frame.scrollTop = 800;
it works with b.html which is on the same server with a.html
but if the src of the iframe points to the page out of the server(http://www.google.com), the script invoke run time error which means I have no right to set the scrollTop property
I can not find and solution or even any explanation on the internet, so came here. Thanks for the help!!!
|
|
|
|
|
Please explain where have you placed your script and from where do you call it. Just try to alert something in the script to check if its even called or not.
|
|
|
|
|
Hi, below is the script
function scrollFrame(x, y)
{
if (window.myFrame&&window.myFrame.scrollBy) {
alert("bbb");
var ifr = window.myFrame;
ifr.oldPageYOffset = ifr.pageYOffset;
ifr.scrollBy(x, y);
}
}
function test()
{
alert("aaa");
scrollFrame(50, 50);
}
I call it in the body.onclick()
the alert did popup, so means the the function is called but runtime error told me I can not access the property of oldPageYOffset neighter the function scrollBy(x,y) if the frame points url off site
|
|
|
|
|
You can not do anything at all to a page that is loaded from a different domain. It's a security restriction in the browser.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Yeah, I got the information.
But any idea in other ways about how to realize this requirement
|
|
|
|
|
If you want to change the scroll position of the page in the iframe, that code would have to be in that page, not in the page containing the iframe.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi
I had a font file (Channels.ttf), I installed it. Its name is CHANL.
Now I use this CSS code in my local HTML file.
.productText{
font: bold 36pt CHANL;
color: #b3c800;
padding-left: 11px;
}
But the text doesn't show with CHANL font. I test it in FF3 and Opera9.5
What's wrong with it ?
Thanks for your suggestions
|
|
|
|
|
Hi,
Use
.productText{
font-family:CHANL;
font: bold 36pt ;
color: #b3c800;
padding-left: 11px;
}
Hope this helps
|
|
|
|
|
Thanks Jaffer.
I used it but it made no difference.
|
|
|
|