i am implementing a news forum whereby users can upload attachments for a message. While at the moment i can successfully iterate through the list of attachments in the page context and display them as checkboxes, i need some way of being able to remove attachments. so when the remove button is...
if for example i have the following file name:
232323231_test_file.txt
but only want to get test_file.txt back how can i make sure that when i get to the first instance of the '_' character i take whatever is after it and return it.
regards,
cajchris
i am making a site whereby on some news forum page there is the ability to add attachments to messages. While it is a simple case of getting the already attached files from some list saved in the page context to show the check boxes, how would i go about having a remove attachment button which...
is there any way i can timestamp a file name, so as to avoid conflict in files with the same name. I am implementing a forum attachment upload facility and want to ensure no uploads share the same name.
regards
cajchris
I am writing some functionality for a site which deals with newsletters, and the sending of them to their subscribers. When an email is successfully sent the subscriber entry in a file is checked as sent, however if one is not sent, how can i determine between different error codes for smpt...
hi,
can someone please tell me how i can get the current url as it appears in the address bar.
is there someway in html i can do this? or do i need to use javascript or some other way?
regards,
cajchris
hi,
my problem is that i am making a style sheet which makes a page printer friendly. when a link is clicked a javascript function switches the style sheet to the print one.
however certain images do not disappear. the background images from the original style sheet i make transparent by...
hi,
i have an ahref link within my page which when clicked will call a javascript function to switch css files. this works fine however i want the new page to appear in a new window. i have tried using the target="_blank" attribute but it doesnt seem to do anything.
I would even settle for...
hi,
I am currently developing a search feature for a website which allows searching within multiple directories, and uses JSP to generate the multiple selection list which all works fine. and i have checked the parameters in the browser location bar to make sure that it is picking up multiple...
hi,
i have a problem in that when multiple items are selected from my html form and the search button is selected, it only seems to select the selected item which is closest to the top of the list, here is my html code:
<div id="SearchArea">
<form name="searchForm" align="right" method="POST"...
hi,
i am wanting my javascript function to generate a mailto link on a page and have the following code:
oParser.CreateEMailUri = function(address)
{
var sBaseUri = 'mailto:' + address ;
var sParams = '' ;
sParams = ' class=' + escape( "EmailLink" ) ;
return sBaseUri + sParams ;
}...
I am implementing a web site where there are 'print this page' links on each page, and when clicked it will show the same page again only with certain things removed, ie images, styles etc. there will be another CSS file that will be used for this print view, but I am wanting to know how would...
when I am using a multiple select box it is workin ok for a single selection, but not for many selections.
Here is my code for it:
<select name="searchedDirectoryNames" id="selectedDirectories" size = "2" class="normalSelect" multiple>
<option value="About Us">About Us</option>
<option...
when I am using a multiple select box it is workin ok for a single selection, but not for many selections.
Here is my code for it:
<select name="searchedDirectoryNames" id="selectedDirectories" size = "2" class="normalSelect" multiple>
<option value="About Us">About Us</option>
<option...
hi,
I have a particular DIV tag which contains a lot of attributes in a css for a certain part of my page including a background image url. however i need to be able to get the url dynamically using a CMS im using to build this site. This means that the background image doesnt have its css...
hi,
I am wondering if any1 knows how to wrap the contents of a horizontal navigation bar if there are many links on it, so that it looks neater
regards
chris
Hi,
what i basically need is a drop down menu in which you can select multiple items. maybe even have the drop down contain check boxes for this. Because standard html drop down menu's become long lists when you use the "multiple" keyword.
any ideas?
regards
chris
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.