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