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

    Excel: Grabbing URL from bunch of HTML tags

    Hi guys, I'm wondering if you guys could help me out. I'm trying to grab a list of URLs from each row. Each row contains something like this: <li>The <a href="https://blahblah.com">Registered Investment Advisor Foreign Account/Anti-Money Laundering Attestation</a> form</li></ul>Once received...
  2. ag1060

    hidden value in &lt;select&gt;

    Hey guys, I have a small problem. I want to pass hidden name 'pid' to a select dropdown box. Any idea on how to do that? This is what I have: <select name="project" class="select"> $show_project_list </select> The $show_project_list basically prints data from a db: $result =...
  3. ag1060

    DIsplaying a textbox when clicks a link

    Thanks for the code; it works great. I was looking for that :)
  4. ag1060

    DIsplaying a textbox when clicks a link

    Thank you. That was pretty simple than I thought. One small question, what if I want to change 'Post Comments' to 'Hide Box' without adding an additional text? So far, I just add 'Close Button' at the end of the comment box: [<a href="#"...
  5. ag1060

    DIsplaying a textbox when clicks a link

    Hello, I'm pretty new to JS and I have this HTML form that has hidden values and I want to display a text click that states, "Post Comments" and the following should display: <form name="comment_box" method="post" action="/project/post_comments"> <textarea name="comments"...
  6. ag1060

    disabling 'select' menu not working on IE

    Hello, Thanks for the reply. I have added your code and works fine (except on IE 9). Here's what I was trying to do: http://oi49.tinypic.com/6s4djp.jpg Basically it just disables if the menu if marked. I just want to make it work on IE9. I also use PHP to reinforce it but still nice to have...
  7. ag1060

    disabling 'select' menu not working on IE

    Hello coders, I have this small javascript code that works fine in chrome/firefox but won't disable the 'select' menu in IE...any suggestion? Thank you in advance. <label> Gender<br> <select name="gender" id="gender" onclick="if (this.checked) document.getElementById('org').disabled=true...
  8. ag1060

    ajax - hidden input

    I will try that. This should work :)
  9. ag1060

    ajax - hidden input

    Hello, Thanks for replying. It does work when I put on the 'fill' part. I don't want the 'pid' to be displayed to the user since I only want the user to select the result. Here's a screenshot of what I have: http://s8.postimage.org/e3g2bjvz7/ajax.png So basically I want the 'pid' to be...
  10. ag1060

    ajax - hidden input

    Hello coders, I'm trying to create this ajax live search and I need to pass on 'hidden' input type... So here's where i'm stuck: $query = $db->query("SELECT pid, ptitle FROM projects WHERE ptitle LIKE '$queryString%' LIMIT 10"); if($query) { while ($result = $query...
  11. ag1060

    jquery - external tab link

    Hello, I have this jquery code for creating tabs but I'm having a hard time figuring out how to make them external (such as bookmark them by going #reg). This is what I have: $(document).ready(function(){ $('#tabs div').hide(); $('#tabs div:first').show(); $('#tabs ul...
  12. ag1060

    Joining 3 tables

    Hello, I'm trying to join three tables with mysql and php. So far, I have this: select username,psummary FROM subscribers join users_db ON subscribers.uid = users_db.uid join projects ON users_db.uid = projects.uid AND subscribers.sub_user='1' When I run the code, it only returns one...
  13. ag1060

    Using function to return mysql data

    That's no problem. Your help was invaluable (same goes for vacunita) :)
  14. ag1060

    Using function to return mysql data

    jpadie , Great post! Thanks a lot. Once added the $x++, everything is working :)
  15. ag1060

    Using function to return mysql data

    Hello guys, I'm having another small problem when I add some JS code to the existing php code from above. Basically, when the user clicks on a link, a JS code menu pop ups: function display_articles() { $pid=$this->uri->segment(3, 0); $query = "SELECT title from articles where pid='$pid'"...
  16. ag1060

    Using function to return mysql data

    vacunita, Thank you; it works. I come from Perl background and I was looking for ".=" way of assigning it in PHP like you could do in Perl. Thanks again :)
  17. ag1060

    Using function to return mysql data

    Hello, Thanks for replying. The original code only returns one row. . When I do 'echo', it posts all the rows but doesn't pass it on to the variable :
  18. ag1060

    Using function to return mysql data

    Hello, I'm trying to retrieve data from mysql to a variable and have it return using a function. This is what I have so far..any ideas? Thanks in advance. function display_articles() { $pid=$this->uri->segment(3, 0); $query = "SELECT title from articles where pid='$pid'"; $result =...
  19. ag1060

    Getting dynamic form values.

    jpadie, I appreciate the help and it works just fine now :)
  20. ag1060

    Getting dynamic form values.

    Hello coders, I'm trying to get form values from dynamic form (screenshot: http://oi49.tinypic.com/25ox9c3.jpg) When the user clicks submit, I want to get the textfield value and the value of the checkbox right next to each other like: Stage1 - 1 (checked) Stage2 - 0 (unchecked) So far, I...

Part and Inventory Search

Back
Top