I am looking for a way to have people enter some text, click a button and have the text show up on top of the existing graphics. I have no idea what this would be called, so if this is an existing topic, please forgive me and just point me to the topic. Is anyone aware of any sample code that demonstrates this?
I've posted a thread a few days ago about a ASP.NET script that creates dynamic images. Somebody mentioned that there is nothing similar to the System.Drawing class in the classic ASP.
Does anybody know which class could I use to create dynamic charts, like pie, or bar charts in old ASP, not ASP.NET? If yes, where can it be found? (Please no commercial components )
I dont need sophisticated charts, I need a class that allows me to dynamically create jpg or gif files, with methods similar to the System.Drawing namespace like createRectange, fillRectangle, drawLine etc.
Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.
i have been asked to create text boxes dynamically on a web site, the user can click a button and a new set of text boxes will appear. The user can add as many boxes as many times as he wants, I have created the text boxes already using the following code.
function inserttextboxs() { var tab = document.getElementById("Difference")
var tr = tab.insertRow() var tc = tr.insertCell("") tc.innerHTML = '< input type=text id=text1 name=text1>';
}
The problem is I don't if this how I should be doing it when I submit the form all the elements have the same id, I need to create something with unique id's so I can retrieve the different values
how do get dynamic content to a drop down text box from a db. For example:
There are two drop down boxes. First one continents Second one countries.
The user selects content from the first drop down box and using the onChange javascript function the data on the second drop down should show the countries related with that content.
I am running into a very common problem that i cannot seem to find a solution for. I have an access database with a text field. Some of the records will contain an apostrophe. i have used the replace method to escape the apostrophe and turn it into ~~~. I can sucessfully change that back to an apostrophe everywhere but a text box. Here is my code:
I need a text box to only take 6 digits. It should work like this:
If the user inserts say '89' form would actually send over '000089'. Likewise if they inserted 1234, again the form would send 001234, if they inserted 1 it would send 000001 and so on..
Yes, the easy way round this would be to give the users a message to input the data as 001234 for example, but is there any way this can be done dynamically?
I have a dropdown that is dynamically populated. The value = a numeric code which I save in the DB. The text = the description. I know how to get the value of the selected item but I need the text of the selected item. I know how to do this in javascript but where I need to gather the text is during an ASP routine.
How do you get the text portion of a dropdown? I saw one post where you can add the numeric code and description together and then use split() to seperate them. I'd rather not do it this way. Is there another way?
I'm having a complete brain cramp today. I've written a form that displays information based on content in a database. Can someone tell me what's wrong with my code to display the data in a textarea?
I have a form that has both static and dynamic fields. I have no problem validating the static data, but whenever I try and apply form validation to a dynamic text box that has repeated rows, the validation does not seem to take. Do I have to run that validation through a loop? Code:
Does anyone know how I can insert daynamic text box data into a SQL Server database? I have text boxes that are being generated dynamically and I want each of those values inserted into the database that hold the results. I'm not sure how to write my loop statement.
I am having trouble with the ordering page. I would like a dynamic form list to look at a database and when the user selects a product code, the text boxes containing description and price change too to reflect the product code.
The user will be entering in their contact details, so I dont want the page to reload too because I will lose that info. Code:
I have an ASP page working the way I want it to, no issues there. What I am trying to accomplish now is more on the graphic side. I have some hyper links on the left hand margin of the page. WHat I want to do is Color the width of that area different from the center of the page. Does anyone know how I can do that?
Can I add an image to the background adn have all the hyperlinks in the for front?
Does anyone have any code examples on how to store a graphic image or binary file in an oracle database? One of my upcoming projects requires that I pull a file from the database and I want to experiment with this before I start on the project. I did a search on google, but nothing relivant showed up. Code:
Looking around, theres a bunch of pre-made utilities out there for ASP that make graphs and charts. I guess they often just write binary image data on the fly, and they output the image. You can even say something like <img src="blah.asp">.
My problem is, I want to write images on the fly, but I dont need graphs or charts. I just want to have custom images created based on database data.
So my question is what are the underlying methods that these graphing utilities use to write this binary data? Can I write my own utility? I know PHP has a library to do this exact thing (GD Library). Does anybody know of an ASP equivalent?
Im basically making a site that will have a homepage with links I will add everyday to graphics and movies on my server. When you click the link it will open a new page similiar to the homepage with the graphic/movie in the middle of hte page.
I know there's an easy way to do this so i can just have it call a database or something like that. Basically I want to just have to add a link to the home page describing what it is, then and add the link to the file to the database and have the coding do everything for me. I think this is asp.
Can someone clue me in. All the sites i've built up until now have hundreds of pages all consisting of the same thing and it's such a pain to keep duplicating code. I'm not looking to get too advanced. If I don't have to use an access database, i don't want to.
What are those boxes called that you see on form pages to ensure that a human is filling out the form?They are graphical letters and/or numbers and random? I need to install one, but don't even know what to saerch on.
have a question about sending HTML based email containing graphics. I am using the cdosys component to send an email from a ASP script. If the generated HTML message contains graphics, do I need to include those files as mail attachments to the email? Or as a easier solution is it possible to use a full URL to a image as a image source, if so how?
My problem is that the left and right panels of my website are exactly the same on every page so I made them into an include file. Yet, everytime a person clicks a link to another page, those images have to reload all over again....
I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:
I have this problem in controlling a the text in a Text Area. How can I do that for example the field size is 200, when it reaches 50 it automatically goes to the next line. Bcoz im having problem when viewing it in my report, it continuesly views in a strieght line and im having problem in printing.
When using ASP's FileSystemObject to create text files, I am unable to get user submitted text (in Hebrew) to save as anything other than "?????". The text file is being saved in Unicode and setting the CodePage in ASP proved unsuccessful. Strangely, hard coded Hebrew text in an ASP variable does add to the text file correctly.
Any ideas of why this happens and how to get it to work correctly?
I have a form on asp page that pulls info from a DB when the page loads. It them puts the info into text boxes on the page that are editable by the user.
The only problem I have is say in the description text box it should read "HP Laserjet 5Si" , it always cuts the text off where it just says "HP" .. It does this on all the text boxes? I can't seem to figure out why it is doing it. Here is the sample code:
I have this problem in controlling a text in a Text Area. How can I do that, for example the field size is 200, when it reaches 50 it automatically goes to the next line. Because im having problem when viewing text in my report, it continuesly views in a straight line. Can you give me ASP code for that.
I have text - ARI Promise, when I hover over the text I would like a box to appear with the Promise information. It would be several paragraphs that need to be formatted with paragraph and bullets. Is this possible to do? If so how would I go about it?
I want to create textboxes dynamically but with dynamic names also.
i am retrieveing a load of values from a table in SQL into a DataReader. Then i want to create textboxes from those variables. I want to dim various textboxes with different names depending on what I retrieve from SQL. I tried the following:
dim dtrcondet.item("contact_detail_description") as new textbox()
I am trying to create a site that has dynamic page generated based on if a value is present.
PROBLEM I want to be able to show a certain dynamic page if a certain value equals to true. The page should be able to generate values from a db e.g. <%=aspscript%>
And if the value equals to false, then the page should not appear at all. I tried using SSI (Server side inlcudes) but cant append variable names to it or use them with if then statements