|
Great source, Paul. I also like www.w3schools.com[^] for excellent tutorials.
"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
|
|
|
|
|
Thanks guys, checking both sites out.
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
|
Hi,
I have been using data binding for a lot of features and it is kind of working, but I keep getting into the chicken and the egg situation; I initialise the dataset in Page_Load, but, for example with a databound combo box, its selection resets when the page loads. This shouldn't happen because I have set the "AutoPostBack" property to true, if I temporily take out the dataset initialisation code then the combo box works fine, but of course with no data in it.
Would anybody be able to point me in the right direction please?
Regards,
Lea Hayes
|
|
|
|
|
maybe you need to use
if (!Page.IsPostBack) {
}
in your Page_Load
Wally Atkins Newport News, VA, USA
|
|
|
|
|
I've got a textbox in which I don't want the user to be able to use the backspace button. How can I cancel? I tried the event.cancelBubble but it doesn't seem to work.
Please help.
|
|
|
|
|
I can't see how cancelBubble would help you do this.
What would I do:
I would store the value of the text field in a variable, then, onChange I would compare the new value with the old one. With the correct logic I would return true or false and would allow the new value or replace it with the old one.
Hope that this helps.
theJazzyBrain
Excelence is not an act, but a habbit Aristotle
|
|
|
|
|
|
Hi,
When selecting an image (within the code) using: MyImage.ImageURL = "test.jpg", the image is stretched within the image control, is there a way to make the image control automatically change to the images size?
And another image related question, how can you obtain the images dimensions?
Regards,
Lea Hayes
|
|
|
|
|
lhayes00 wrote:
When selecting an image (within the code) using: MyImage.ImageURL = "test.jpg", the image is stretched within the image control, is there a way to make the image control automatically change to the images size?
Don't specify a width or height in the IMG tag
lhayes00 wrote:
And another image related question, how can you obtain the images dimensions?
I imagine the same way you would access the SRC attribute
document.blah.myImage.width
blah is not actually an object, you'll have to figure that out.
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Does anybody know how to fill the fields of IE's web page
from within VB or C++ ? What if the page is secure? Of
course, there is no problem to fill all the fields by
hand. The question is how to do it automatically, by
running .exe or .dll.
|
|
|
|
|
Wrong forum
You mean like Google toolbar auto form fill feature?
It's generally more difficult then writting a normal EXE I suggest looking at the following article for a heads up:
http://www.codeproject.com/atl/ietoolbartutorial.asp?target=ie%7Ctoolbar[^]
I imagine you might be able to do it with a normal EXE, but you would have to tap into the IWebBrowser2 interface, so I hope your comfortable with COM interfaces
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Hi all,
what is the difference between
put_outerHTML , put_innerHTML
and
put_outerText,put_innerTEXT
i am confused can you all sed some light on it i am new to HTML ?
also in a BHO OnDocumentComplete Event i am Parsing all the Elements looking for TEXT written
How do i know that the element i have is a TEXT or HREF or .....
Please Help
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
mailMonty
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
c# makes the result as 'sucide'
I was born intelligent Education ruined me!.
|
|
|
|
|
I think your in the wrong forum too
Anyways
innerHTML will replace all HTML inside the current element and outerHTML will replace all HTML inside the current element including itself.
So...
If you replace the innerHTML of the following DIV with nothing
<div>
<b>This is innerHTML</b>
<div/>
You get
<div>
nothing
<div/>
Whereas outerHTML would do the following
nothing
HTH
Cheers
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Love your sig! LOL
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Too bad the ladies don't dig it so much
The word of the day is legs, let's go back to my house and spread the word
|
|
|
|
|
Hi,
I have just started with web development and seem to be doing okay. When a hyperlink is pressed on my webform I am adding different tags to the URL, i.e. "mypage?mytag" simply by adding it the the hyperlinks. When my page loads how can I obtain access to my tag, at the moment I am only interested in adding one tag at a time with a consistent length of characters.
Is there a way to obtain the URL stored in the address bar of internet explorer?
Any help would be greatly appreciated!
Regards,
Lea Hayes
|
|
|
|
|
Yes, what you are looking for is info on the QueryString. That is the bit of info from the ? onwards and can contain multiple name/value pairs. e.g. ?var1=xyz&var2=123&var3=bob . That contains three pairs.
To access these you use the Request object and the QueryString class.
So to access the second pair in the above example you would use Request.QueryString("var2").ToString() . You can use the name of the variable which is nice instead of it's position.
regards,
Paul Watson
Bluegrass
South Africa
Brian Welsch wrote:
"blah blah blah, maybe a potato?" while translating my Afrikaans.
Crikey! ain't life grand?
Einstein says...
|
|
|
|
|
Hi,
Thanks for your help, using Response.QueryString().ToString(), I am able to retrieve the text after the '?' symbol. However Request.QueryString("var2").ToString() gives me an error, looking at the syntax it doesn't seem like you are meant to place anything between the parenthesis. Do I need to include an external library to use the QueryString function with the "var2" or other variable name?
Regards,
Lea Hayes
|
|
|
|
|
Hi,
I found out what I was doing wrong, the code causes an error when there is no "?..." after the normal URL. To solve this I added:
Dim Dir As String
If Request.QueryString.Count Then
Dir = Request.QueryString("dir").ToString()
End If
Thanks for your help!
Regards,
Lea Hayes
Yours Sincerely,
Lea Hayes
|
|
|
|
|
HEllo:
i really need help in my final project....i am developing a ecard website i have a problem for attached the picture with the message..as well as maintain the library of the picuters...i need that code which send email to the Request user and also send the confirmation mail to the requested user.....if any one help me i am really thankful to him/her....i really need this...it's my final project....please help me...don't forget to write some detail readme file with source code...
thanks\
Note i need whole code with readme file in which mention that how to run that code....pleae help me out..
|
|
|
|
|
What are you using to send the mail???? Explain pls.
----
hxxbin
|
|
|
|
|
and if its ur final project shouldnt u be doing at least some of the work urself then asking specific questions?
asking "please do my project for me" isnt going to work here im afraid
"there is no spoon" biz stuff about me
|
|
|
|
|
"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
|
|
|
|