OK. Latest code seems to be working.
It is only sorting one row at a time however. Any ideas?
function sortTable() {
//alert('Table sort started');
var targetTable = document.getElementById("results-table");
var targetBody = targetTable.tBodies[0];
var existingRowIds = new...
Excellent. Thanks for that.
I dont entirely understand about 80% of that javascript code!
What I have so far is as follows.
It creates an array from the table first, then loops through the target table and compares the values and outputs higher or lower based on a comparison of the values.
Um...
Ive ben out of Uni for quite some time now!
Im going to just try loading the table in and looping through it to start off with.
So i'll come back with more specific questions.
Looks like i'm being to vague to get meaningfull ansers back!
Apologies for the vagueness!
I have removed the code for this table sort as it was hurting my mind. It looked way to complex, and seemed to be trying to cater for every possible scenario in existence!
So I decided to start a new function from scratch, after all, how hard can it be!!
I am a...
I tried one downloaded off the web that lets you sort based on clicking on the header of the table, which isnt exactly what I want.
It threw up an error in firebug saying it wasnt a function or something.
I kinda decided that it was too complex for me to work with though, at over 1000 lines...
Hiya guys
I am working on an existing website to add functionality around a price results table.
This table has 5 columns :
Price - Option1 - option2 - option3 - option 4
There are also 4 tick boxes on the page that when clicked, will add the cost of the option onto the price, so price...
Watin is excellent!
We are using it for testing, and to retrieve data from some of our partners websites, when they dont have a webservice.
Can highly recommend it.
Well I thought that, but, esentially Watin is passing a HTML table to the above code, which is using Linq to scan the table.
So is it not a linq issue maybe?
Hiya guys
Ok, here's the setup.
I am using Watin to navigate through a website. When I reach a certain page, I am grabbing the table details, and looking for a certain bit of text, so I can grab the next indexed cell.
To do this, i am navigating using the Watin addon, and Linq, to query the...
I will have to find out what the links I need to click are, but when I do, the path through the site will be the same.
Obviously the site could change, and I suppose i'd have to work something out to deal with a link that did exist, but gets changed.
but for now, if I can just click through the...
Hiya JurkMonkey
Looking at that link, I can create a new form, with web browser controls, and can navigate to a page.
What I need to be able to do is to populate data within this page, and 'click' links.
I've kinda seen a few things to do with this, but I am very new to c# and indeed Visual...
Hiya guys
I have a current VB application that will navigate a webpage, populating the fields with data from a database, and clicking the buttons, and grab data from the webpage.
I now need to migrate this functionality to .NET, and was wondering if anyone can point me in the right direction...
I've had a thought.
What if I have several links on one page to send an email.
For example, 10 products on a pge, with Contact Us next to each.
If I want to know which one they clicked on (i.e. which product), and add that into the mail, is that possible?
That looks excellent.
I will look at that later tonight. It looks really simple too!
Another thing. Would I be able to pass a variable in, containing which page the user clicked through to mail.
So if they click 'Contact Us' on the home page, I want to pass 'HomePage' through in the subject of...
Hiya Guys!
I am developing a webpage for my friends business, and have hit a bit of a snag.
I want to set up a web page with a contact form. This is my test page with the form:
http://www.cafefairtrade.co.uk/contact_us.htm
When the submit button (send to Cafe Fair Trade) is pressed I want...
Hi guys
I am developing a VB solution to navigate to a web page using MSHTML.dll.
I can currently navigate to the URL, and enter data onto the page as needed.
What I need to do, is use form post to pass variables to a URL, and then navigate to that URL.
Does anyone know how I might replicate a...
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.