|
I started my first web project and created all the pages in MS Frontpage.
I wanted the pages to be secure (Query Strings) as the URL displays the actual dir path on the server.
Could you please guide me, how to change the existing HTML to an ASP.
I'll b gr8ful.
Thank's & Best Regards,
Shrikant
|
|
|
|
|
if you input some texts in a text box several times, later on, when the textbox is focus, it will show the previous input texts. How to disable/enable that feature?
Thank you guys!
Nice days.
Nam
|
|
|
|
|
IE->Tools->Internet Options->Content(Tab)->Autocomplete->Clear Forms
|
|
|
|
|
IE->Tools->Internet Options->press DeleteCookies button
It will delete cookies from temporary internet files
"I find that the harder I work, the more luck I seem to have."
|
|
|
|
|
|
thank you guys! I have done it.
|
|
|
|
|
Hello all
i have a table in my web page inside a form, the rows are added dynamically at runtime using javascript. (by the user)
The rows have edit boxes inside them which the user fills in.
When the user is done adding these rows they submit the form
Now, i am trying to validate the data (the sum of a column must equal or exceed 40)
using the following
the code is not the best but im bug fixing here
function validateRow(frm)
{
var tabl = document.getElementById('tblSample');
var l = tabl.rows.length;
var s = '';
var total= parseFloat(0.0);
for ( var i = 1; i < l; i++ )
{
var tr = tabl.rows[i];
var cll = tr.childNodes[1];
var ct = cll.innerHTML;
var cellAsString = ct.toString();
var index = cellAsString.lastIndexOf("value=");
index += 6 ;
var sub = cellAsString.substr(index, cellAsString.length - index-1);
var temp =parseFloat(sub);
total += temp;
var sr = total.toFixed() ;
}
if (total < 40.00)
{
var str = total.toString();
alert("The hours you submitted hours are not enough \nYour hours were:"+str);
return false;
}
return true;;
} ;
So the problem is that it works in IE, but not in Firepox errr FireFox.
in IE cellAsString holds text which includes the value of the edit box in the form "value=6" say
in FF the text holds the actual string used to create the table cell with the edit box inside
does anyone have any suggestions on how i can get the contents of the edit box using FF?
cheers
Bryce
---
To paraphrase Fred Dagg - the views expressed in this post are bloody good ones.
--
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
Our kids book :The Snot Goblin
-- modified at 22:16 Thursday 16th March, 2006
|
|
|
|
|
foudn an easier solution
function validate()
{
var id = "hours";
var index=1;
var total =0;
while (document.getElementById(id+index) != null)
{
var item = document.getElementById(id+index);
total+=item.value;
index++;
}
if (total < 40.00)
{
var str = parseFloat(total).toString();
alert("The hours you submitted hours are not enough \nYour hours were:"+str);
return false;
}
return true;
}
cheery
bryce
---
To paraphrase Fred Dagg - the views expressed in this post are bloody good ones.
--
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
Our kids book :The Snot Goblin
|
|
|
|
|
I would like to Start and Stop a flash movie from Javascript as well as change the file name in that object, anybody?
cheers
Al
|
|
|
|
|
Hello,
Firstly, apologies about posting a similar problem because there have been different answers on what language and approach to take. This time, I'll try to describe the problem clearer.
In short, I have to display a rightclick menu only when the user rightclicks on a list item in a listbox. If the mouse is not at a list item, the menu will not appear when the user right clicks the mouse.
The listbox is an asp.net control, not a vb forms one. It is part of a custom control which consists of the asp.net listbox, a context menu and a label. The context menu is itself a custom control developed using c#, not one which is created by javascript. However, there is a javascript file which is included in the context menu code which is responsible for displaying the menu at where the user right clicks.
Hence, my custom control consists of 2 asp.net controls and another custom contro(a context menu having c# and javascript coding).
Are there any advice on how to let the asp.net listbox and javascript work together to display the menu only at the list items?
I used the context menu control (code included) from this website:
http://msdn.microsoft.com/msdnmag/i...ge/default.aspx
Please advice
|
|
|
|
|
in asp to upload a file to server, si it possible using the filesystem object instead of send data in binary format using mutlipart/form-data.
Whats is the structure of the binary data send to server using mutlipart/form-data.
Plz give me reply asap
thanking you
Hari
|
|
|
|
|
You can't use FileSystemObject to do the actual transfer of the file, you have to use an internet protocol for that.
If you wan't to use anything other than multipart/form-data, you have to run a component in the browser, like an ActiveX component or a Java applet.
For the format of the data, look at for an example W3C's reference[^].
---
b { font-weight: normal; }
|
|
|
|
|
is there any way in which to create a browser within a webpage? this would sound silly, but what i need is suppose from that browser which is inside my page, a person goes to a page, i want to extract the data from that page at the click of a button. to extract the data all i need to know is the complete address http://www.sitename.com/myfile.asp i tried doing this using frames and javascript but window.location.href gives permission denied error accross domains.
is there a way using a certificate or SSL or maybe by embedding a signed web browser activeX control inside my page?
"Some guys hack just to get themselves a girlfriend.What a pathetic reason huh ?"
|
|
|
|
|
|
could you please elaborate a bit? OR point me to a website which i can use as a starting point? Also remmember I want my browser to open just any webpage, like www.yahoo.com and then maybe click on the shopping link to go to the page, and then be able to get the url of that page.
"Some guys hack just to get themselves a girlfriend.What a pathetic reason huh ?"
|
|
|
|
|
There is a script :
Output :
array(10) { ["GD Version"]=> string(15) "1.6.2 or higher" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(16) "with TTF library" ["T1Lib Support"]=> bool(false) ["GIF Read Support"]=> bool(false) ["GIF Create Support"]=> bool(false) ["JPG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XBM Support"]=> bool(false) }
Warning: Cannot modify header information - headers already sent by (output started at y:\home\jaws\www\img\index.php:4) in y:\home\jaws\www\img\index.php on line 12
Fatal error: Call to undefined function: imagerotate() in y:\home\jaws\www\img\index.php on line 18
So if this screept found GD library, why he does not recognize imagerotate() function ?
|
|
|
|
|
|
I want to read data from an xml file and using the values in this xml file dynamically create a button on a web page, but I'm failing miserably.
Sample xml file
<?xml version="1.0" standalone="yes"?>
<Tag1>
<height>50</height>
<width>100</width>
<display>This is my button</display>
</Tag1>
I have two problems
Problem 1
Sample Code
while(xmlReader.Read())
{
if (xmlReader.Name == "height")
<b>height = Convert.ToInt16(xmlReader.Value);</b>
if (xmlReader.Name == "width")
width = Convert.ToInt16(xmlReader.Value);
if (xmlReader.Name == "display")
display = xmlReader.Value;
The line highlighted in bold, causes an exception 'input string was not in correct format' but I don't understand why.
Problem 2
If I change the above, so that I hardcode the height and width
while(xmlReader.Read())
{
if (xmlReader.Name == "height")
height = 50;
if (xmlReader.Name == "width")
width = 100;
if (xmlReader.Name == "display")
display = xmlReader.Value;
}
The display value is null.
Can anyone explain what I'm doing wrong?
|
|
|
|
|
Hi,
i have a select box in which options are populating from database and i want to add horizontal scrollbar in this select box.
one way i found is to use Div but i don't want to use Div in my code as now.
Thanks in advance..
Sushant Mathur
Bangalore,
INDIA.
http://n.domaindlx.com/fun2ssh/HOME.htm
|
|
|
|
|
Does anyone know how to publish a crystal report to a web location in Crystal Reports 11 Server? I'm trying to publish the report and redirect to it from an ASP.NET 1.1 page.
Thusfar I haven't been able to figure out how to actually publish a report to a hittable URL on the server, there doesn't seem to be any information available regarding this. Is it possible?
modified 30-Aug-22 21:01pm.
|
|
|
|
|
I write a asp script in vbscript to copy some request file from my file server to web server,
which are two seperate computer.
When I run the web site using localhost(webserver), the website run perfectly.
When I use another computer just like any client,
The script response an error that "Path not found".
The permission of the source directory and file is Everyone can full control of that directory.
the path of source is "\\10.0.0.123\Files$\"
Any suggestion? or any alternate method to meet the goal?
Thank you
|
|
|
|
|
Hi
I wanted to ask why ShowModalDialog() is so slow, it takes on the average 25-30 Seconds to create a window
I am using Interent Explorer 6.0 with sp2
Thanks In Advance
|
|
|
|
|
i am having the same problem, have you ever found a solution
|
|
|
|
|
I am looking for "Digital Signatures and E-commerce Technology" but unable to find much helpful information. I have google my query and i have also used many other search engines but unable to find. Please Help......I am interested in finding the detailed description of the above mentioned topic.....
Be FaithFull To Your Work.
|
|
|
|
|
Hello Everyone,
I am new to Programming and I need your help.
I am trying to copy the web application code from our production
server to my local machine, but I am getting the following error when i
do Copy Project from the Project Menu:
"The web does not appear to have the Frontpage server extensions
installed. If the Frontpage Server extensions are installed, this
error may occur because the _vti_bin virtual directory is not marked
executable.To correct this problem, run the Internet Services
Manager, select the Web server having the problem and use the Check Server
Extensions task"
I tried to research on Internet but was not able to find correct answer.
First of all how do I know if Frontpage extensions are installed or not.
If yes then, how do I get to INternet Service Manager. I am not seeing
it in my Administrative Tools. I do have IIS installed on my local machine.
I am able to create new web application but I am not able to do Copy Project.
I thank you for your help in advance.
Thanks
|
|
|
|