web form using javacript
-
In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?
-
In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?
Explore: 1. Dialog | jQuery UI[^] 2. Its Documentation[^] 3. Using jQuery with ASP.NE[^]
Peter Leow https://www.amazon.com/author/peterleow
-
In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?
1 No 2 & 3 None but if the message gets too big it is unreadable 4 No Alert has no real use outside of debugging, if you want to show a "popup" or modal message then look at a jQuery plug-in for it. jQuery UI comes with one but there are many others if you google "jquery modal plug-in".
-
In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?
OK, WTF is going on here? :mad: Your question is an exact copy of this other question[^], posted by a different user. At first I thought yours was the original, since the other message looks like it's been copied from somewhere. Then I checked the timestamp - your message was posted eight hours after the other copy. If you own both accounts, then one or both is a "sock-puppet" account, which is considered abuse. If you don't, then you've reposted someone else's question, which is also abuse.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?
-
OK, WTF is going on here? :mad: Your question is an exact copy of this other question[^], posted by a different user. At first I thought yours was the original, since the other message looks like it's been copied from somewhere. Then I checked the timestamp - your message was posted eight hours after the other copy. If you own both accounts, then one or both is a "sock-puppet" account, which is considered abuse. If you don't, then you've reposted someone else's question, which is also abuse.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer