Thanks Dan, but not exactly. My problem is with weekdays, or adding a day. I got a snippet which I have changed so I have...
function MoveWeekdays(num_days) {
//get date from form
dt=document.myform.myfield.value
dt=dt.split("/")
datField=new Date()
dd=parseInt(dt[1])//The Date...
Hi,
I am writing an ASP program but need to have some javascript in it too. I need a javascript function that you can supply in a date in the format mm/dd/yyyy and an integer which is the number of weekdays (M-F) to add to it.I have written the function for use in the ASP side but am a bit...
Thanks vbkris! So, the javascript will change the ifrsame location and that will run the function, and this page will return the results to it's parent?
Yikes! I can see myself messing this up... here goes.
I don't get the problem but one easy way of achieving this would be to have bobs page stored in the database in the record that has his username and passowrd combination. That way bob enteres his username and password. Say the username is "bobjones", password is "bobspassword" and page is...
Hi,
I have an asp page where I have a form. Within the form I have a button which does NOT submit the form, but instead calls a javascript function which does some things for me. I have found that I also want to call an asp function on the page when the button is pressed. Is there any way of...
'You could split it into two actions...
gstrSQL = "select <whatever is going to get you the username>"
conn.execute(gstrSQL)
myFECHNB=rs("Username")
' then use the returned value in another query
gstrSQL = "select FECHNB, FECVNB, FECBTX, FEAAC3, FEAAC9, FEALDT, FEKNNB, DDAIDT...
Thanks, but that's not working for me. I found a script that works at http://www.flws.com.au/showusyourcode/codeLib/code/AddWorkingDays.asp?catID=1
Thanks for the help anyhow, but it was weekdays not weeks I was trying to add. And weedays as 'w' seems to just add a day (even if that day is...
I am trying to write a function where I add a number of days or half days to a date. however, I am not sure how to add days of the week (M-F) only when adding days.
I thought that it was newdate=DateAdd("w", 1, indate)
but this seems to just add a single day even if it is adding to friday. I...
Hi,
I have some trouble getting my xml to display correctly using xsl. I have a node with formatting which can also contain changes which are marked <insertion> or <deletion>. Insertions should be shown, deletions should not.
A sample piece of this xml is:
<Text> text<inserted>...
Thanks for the two suggestions, but I still can't get it to work. Totally stumped with this one. Any other suggestions are more than welcome.
thanks
Andy
Hi.
I am writing some xsl to extract attribute details from an xml file and display them.
My problem is I am not getting the output!
The xsl (a section of it) is -
<xsl:for-each select="Option[@correctanswer='true']">
<div id="filename">
<xsl:value-of select="@id" />
</div>
</xsl:for-each>...
Sorry for delay getting back to these replies. I took the end of last week off.
Both versions worked a treat. I went with the first one, as I understand it a bit better. I need to hit the books a bit and get myself better aquainted with xsl. Are there any good online resources/tutorials you'd...
That's not a problem, as I am going right down to the node each time. However, I only want to display nodes that have either insertions or deletions make. The report I am generating is a change report, so I had been using -
<xsl:for-each select="Text/deleted">
<div id="textrow">Deletion <br/>...
I am trying to present some xml in a browser, using xsl, from a mixed node, so that I include every <inserted> child node, and leave out every <deleted> one. (Yes, I AM trying to create track-changes!).
Is it possible to do this and still have the text in order?
Here is an example of what I...
I am trying to apply an xsl stylesheet to an xml file at runtime. My problem is that any breeak tags embedded in the xml nodes are not showing as carriage returns in the browser. Has anyone come across a way of getting them to? The xml I am using is (snippet shown) -
<Click type="text">...
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.