Jump to content

Splurd

Members
  • Content Count

    60
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Splurd

  • Rank
    Newbie
  1. working on a jsp page,there is a sql which gets a list of prerequisites.The RS is turned into a list of checkboxes which are like<input name="cb1" value="xxxxx" type="checkbox"><input name="cb2" value="xxxxx" type="checkbox"><input name="cb3" value="xxxxx" type="checkbox">usually I do my form validation with a simpleif (theform.txtName == "" ){ *prompt to fill in name textbox*}but how can I do a incrimental for the checkboxes?like turning this....if (theform.cb1.checked = false ){ *prompt to fill in checkbox*}if (theform.cb2.checked = false ){ *prompt to fill in checkbox*}if
  2. As the topic says, anyone care to share their expriences of stopping sql injection, be it deliberate or otherwise.I ask this because, right now my form for a registration form has a field which allows the user to enter info about them selves and one of the things offten entered is quotes. both single and double...For example, they might enter something like [ Hi I'm into "fun" things. ] and the quotes mess up the sql.and I dont want to use html equivlent things like ' or " because its used in a java client server application as well, so it might come out weird.Any opinions? I know I need to ca
  3. Its amazing what knowing the right keywords to google for can do for youanyway this site gives a long list, just to sharehttp://www.searchtools.com/tools/tools.html
  4. sorry but I dont understand you and i dont think that quite solves my issue.I'm using <xsl:tempate > and its matching the nodes in my xml,What I need to do, is when it reaches a specific node (which i check via a if ) it needs to go BACK to the previous node, and take a attribute. then go FORWARD to the next node, and take a attribute,
  5. lets say I got a list of notes, and I'm using template match to organise the data, then I need to do a prev, next for page, to go to the next product page.I know which node I'm in, but I need to somehow get the ID of the previous node...eg <inventory> <product> <prod_id>21</prod_id> <prod_name>peanut butter</prod_name> <prod_price>500</prod_price> </product> <product> <prod_id>453</prod_id> <prod_name>jelly jam</prod_name> <prod_price>200</prod_price> </product> <product> <pro
  6. my xml is sorted like this, <staffdirectory> <staffnames> <staffname> <id>123</id> <name>bob</name> </staffname> <staffname> <id>456</id> <name>joe</name> </staffname> </staffnames> <staffcategories> <staffcategorie> <code>1</code> <name>Management</name> </staffcategorie> <staffcategorie> <code>2</code> <name>Engineer</name> </staffcategorie> </staffcategories> <staffs> <staff> <
  7. Bump again, see if anyone has more engines to recommend.
  8. Splurd

    Hiding A Table Row

    I re made the first post after discovering some things.
  9. Splurd

    <ol Type="a">

    The site I'm working on is kinda old, all the original coders have run away and frankly no one knows how it works anymore.Its full of bad practices and alot of hard coding, it does not have a doctype and the pages that do have a doc type are using the default one from dreamweaver. which is not a strict doctype. If fails validation badly.
  10. Splurd

    Hiding A Table Row

    I complete redid the thread <html xmlns="http://www.w3.org/1999/xhtml" ><head><title>test</title><script type="text/javascript">function removeElement(x){ if (document.getElementById(x).style.display == "table-row"){ document.getElementById(x).style.display = "none"; }else{ document.getElementById(x).style.display = "table-row"; } //alert(document.getElementById(x).style.display);}</script></head><body><ol style="list-style-type: lower-alpha;"><form name="rcform"><table border =1> <tr > <td colspan="2"> <inp
  11. Yep, but its not a internal search. They want it to be internal, rather then being linked to google. Aye, thats is one of the options, but I'm searching for more. Pointy haired managers dont like paying for services. Yes you have helped :)Just need to find more of these search tools
  12. Splurd

    <ol Type="a">

    What I meant was, in my original post, I was listing out items, by hard coding them using tables and manually typing in a. b. c. It was not using <ol> Dont just look at the code and say that its not a list >_<I didnt use definition lists because they wanted it to be in a list format, with a. b. c. ectan uhhh, the site does fail validation miserably. But its complex and messy and will be "revamped" eventually. So I'm not really concerned with correct or wrong, as long as it displays properly in the browsers.
  13. lets just say due to the way the db is made its not feasible to do such a thing.Its most definitely not what they are looking for
  14. The site will be going thru a "revamp" so its not comfirmed yet, but as for the moment, most of the articles are stored in a database in html format.
  15. I've been tasked to evaluate what search engine to use, for internal searches of the site. And I've really got no idea how to go about doing this. (its like asking a car mechanic to design a formula 1 engine)Any one care to share their views and expereinces win internal website search engines, and what are the popular ones around?I know google offers a search application, along with another company called thunderstone. (found this article)But I dont know if that is what I'm looking for.wikipedia has a list of free search engines, but again I dont know if this is what I'm supposed to be lookin
×
×
  • Create New...