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 dencom 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: *

  • Users: ag1060
  • Content: Threads
  • Order by date
  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

    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"...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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 =...
  9. 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...
  10. ag1060

    naming text boxes

    Hello, I'm really new to JavaScript and I found this script which creates/removes text boxes dynamically. It works except I want the name for each text box to be "stage 1", "stage 2", etc. I can't seem to find a way to do it. I'm sure it's a small twist to it but any help? ---- <script...
  11. ag1060

    Returning mysql array values via function.

    Hello, I'm trying to return mysql values via function. basically I have these two: function create_project() { load_user(); echo "Hello $uname ($email)"; exit; } function load_user() { $id=$_SESSION['uid']; $sql = <<<EOF SELECT uname,email from x_members_x where uid='$id' EOF; $result =...

Part and Inventory Search

Back
Top