Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. EvolMonster

    Simple table sort for novice!

    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...
  2. EvolMonster

    Simple table sort for novice!

    Got it! Here's the code : function sortTable() { var targetTable = document.getElementById("results-table"); var targetBody = targetTable.tBodies[0]; var existingRowIds = ""; for (var targetIndex = 0; targetIndex < targetBody.rows.length; targetIndex++) { var...
  3. EvolMonster

    Simple table sort for novice!

    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...
  4. EvolMonster

    Simple table sort for novice!

    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!
  5. EvolMonster

    Simple table sort for novice!

    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...
  6. EvolMonster

    Simple table sort for novice!

    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...
  7. EvolMonster

    Simple table sort for novice!

    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...
  8. EvolMonster

    Using Linq and Watin to grab HTML table

    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.
  9. EvolMonster

    Using Linq and Watin to grab HTML table

    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?
  10. EvolMonster

    Using Linq and Watin to grab HTML table

    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...
  11. EvolMonster

    Navigating a web page in C# .NET

    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...
  12. EvolMonster

    Navigating a web page in C# .NET

    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...
  13. EvolMonster

    Navigating a web page in C# .NET

    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...
  14. EvolMonster

    PHP Email problem

    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?
  15. EvolMonster

    PHP Email problem

    Do they add alot of rubbish in them? So i need to be setting them, even if I have no data to put in them?
  16. EvolMonster

    PHP Email problem

    Brilliant! I'll try that tonight. Cheers guys, I'll get back to you if I can't make it work! :)
  17. EvolMonster

    PHP Email problem

    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...
  18. EvolMonster

    PHP Email problem

    It does? I'm new to PHP, so if you could provide an example on how to get mail() to do the same job, that would be great!!!
  19. EvolMonster

    PHP Email problem

    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...
  20. EvolMonster

    Form post using MSHTML

    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...

Part and Inventory Search

Back
Top