<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>VBForums - XML, HTML, Javascript, Web and CSS</title>
		<link>http://www.vbforums.com/</link>
		<description><![CDATA[Discuss XML, HTML, Javascript, CGI, and CSS here. Topics include: Perl, Cold Fusion, etc. (Java, ASP & VB Script and PHP are separate)]]></description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 05:55:37 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.vbforums.com/images/misc/rss.png</url>
			<title>VBForums - XML, HTML, Javascript, Web and CSS</title>
			<link>http://www.vbforums.com/</link>
		</image>
		<item>
			<title><![CDATA[[RESOLVED] decimal format]]></title>
			<link>http://www.vbforums.com/showthread.php?722395-RESOLVED-decimal-format&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 16:40:50 GMT</pubDate>
			<description><![CDATA[Hi, 

I'm currently using the following code to computer a % , it is working fine, but I only want max two digits after the dot like this xxxxxxxxx.XX .


PHP:
---------
         var P = parseFloat($('#P_TextBox1').val());
	        var A = parseFloat($('#A_TextBox3').val());
	        var total_surch = ((A / 100) * P);
	        $('#T_TextBox2').val(total_surch);
---------
I would appriciate any tip on how to accomplish this.


Thank You]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I'm currently using the following code to computer a % , it is working fine, but I only want max two digits after the dot like this xxxxxxxxx.XX .<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">PHP Code:</div>
	<hr /><code class="bbcode_code"><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">P&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">parseFloat</span><span style="color: #007700">($(</span><span style="color: #DD0000">'#P_TextBox1'</span><span style="color: #007700">).</span><span style="color: #0000BB">val</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;</span><span style="color: #0000BB">A&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">parseFloat</span><span style="color: #007700">($(</span><span style="color: #DD0000">'#A_TextBox3'</span><span style="color: #007700">).</span><span style="color: #0000BB">val</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;</span><span style="color: #0000BB">total_surch&nbsp;</span><span style="color: #007700">=&nbsp;((</span><span style="color: #0000BB">A&nbsp;</span><span style="color: #007700">/&nbsp;</span><span style="color: #0000BB">100</span><span style="color: #007700">)&nbsp;*&nbsp;</span><span style="color: #0000BB">P</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$(</span><span style="color: #DD0000">'#T_TextBox2'</span><span style="color: #007700">).</span><span style="color: #0000BB">val</span><span style="color: #007700">(</span><span style="color: #0000BB">total_surch</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code></code><hr />
</div>I would appriciate any tip on how to accomplish this.<br />
<br />
<br />
Thank You</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>met0555</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722395-RESOLVED-decimal-format</guid>
		</item>
		<item>
			<title>Possible to search for two words with RegExp</title>
			<link>http://www.vbforums.com/showthread.php?722371-Possible-to-search-for-two-words-with-RegExp&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 13:40:15 GMT</pubDate>
			<description><![CDATA[This is not my code - but appears to be how a jQuery autocomplete can fill the array that shows when you start typing.


Code:
---------
var matcher = new RegExp($.ui.autocomplete.escapeRegex(wesInput.val().toLowerCase()), "i");
var arraytoreturn = $.grep(wesInput.autocomplete("option", "source"), function(value) {
    return matcher.test(value.label || value.value || value);
});
---------
So - if I have

SMITH, ANN
SMITH, JOHN
SMITH, JOHN AND AMY
SMITH, JOSEPH
SMITH, JOSEPH AND ANN

And I type SMITH, JOS

I currently get 

SMITH, JOSEPH
SMITH, JOSEPH AND ANN

So I guess that means that the "standard no regexp escape sequences" means "find the data with left-most matching" - GENERIC as we called it back in the mainframe days.

What could I type that would tell the MATCHER.TEST function to return these two records (if it was a simple world it would be something like SMITH*ANN)

SMITH, ANN
SMITH, JOSEPH AND ANN]]></description>
			<content:encoded><![CDATA[<div>This is not my code - but appears to be how a jQuery autocomplete can fill the array that shows when you start typing.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">var matcher = new RegExp($.ui.autocomplete.escapeRegex(wesInput.val().toLowerCase()), &quot;i&quot;);<br />
var arraytoreturn = $.grep(wesInput.autocomplete(&quot;option&quot;, &quot;source&quot;), function(value) {<br />
&nbsp; &nbsp; return matcher.test(value.label || value.value || value);<br />
});</code><hr />
</div>So - if I have<br />
<br />
SMITH, ANN<br />
SMITH, JOHN<br />
SMITH, JOHN AND AMY<br />
SMITH, JOSEPH<br />
SMITH, JOSEPH AND ANN<br />
<br />
And I type SMITH, JOS<br />
<br />
I currently get <br />
<br />
SMITH, JOSEPH<br />
SMITH, JOSEPH AND ANN<br />
<br />
So I guess that means that the &quot;standard no regexp escape sequences&quot; means &quot;find the data with left-most matching&quot; - GENERIC as we called it back in the mainframe days.<br />
<br />
What could I type that would tell the MATCHER.TEST function to return these two records (if it was a simple world it would be something like SMITH*ANN)<br />
<br />
SMITH, ANN<br />
SMITH, JOSEPH AND ANN</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>szlamany</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722371-Possible-to-search-for-two-words-with-RegExp</guid>
		</item>
		<item>
			<title>Want to get this DIV to appear under the textbox and button in this jQuery Accordian</title>
			<link>http://www.vbforums.com/showthread.php?722359-Want-to-get-this-DIV-to-appear-under-the-textbox-and-button-in-this-jQuery-Accordian&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 08:28:18 GMT</pubDate>
			<description><![CDATA[I've am trying to add a DIV in an existing - very complicated - jQuery/JS app.  I want this DIV to appear under the textbox and button - see attached image.

I'm adding the DIV with the second .appendTo line (strNewErrMsg div).  I just tried adding the <br /> to get it to go onto a new line - but that is not working.


Code:
---------
$('#acs-button-list .acs-panel-btn-clear').clone().appendTo("#" + strNewAccordionDiv).removeAttr("id")
                                                        .addClass("acs-tracker-buttons")
                                                        .addClass("ui-state-highlight");
$("<br /><div id='" + strNewErrMsg + "'></div>").appendTo("#" + strNewAccordionDiv);
---------
It's got to be some kind of float thing that the accordion has.  I always struggle with div float - I don't want to hack at this.

Thanks !]]></description>
			<content:encoded><![CDATA[<div>I've am trying to add a DIV in an existing - very complicated - jQuery/JS app.  I want this DIV to appear under the textbox and button - see attached image.<br />
<br />
I'm adding the DIV with the second .appendTo line (strNewErrMsg div).  I just tried adding the &lt;br /&gt; to get it to go onto a new line - but that is not working.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">$('#acs-button-list .acs-panel-btn-clear').clone().appendTo(&quot;#&quot; + strNewAccordionDiv).removeAttr(&quot;id&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .addClass(&quot;acs-tracker-buttons&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .addClass(&quot;ui-state-highlight&quot;);<br />
$(&quot;&lt;br /&gt;&lt;div id='&quot; + strNewErrMsg + &quot;'&gt;&lt;/div&gt;&quot;).appendTo(&quot;#&quot; + strNewAccordionDiv);</code><hr />
</div>It's got to be some kind of float thing that the accordion has.  I always struggle with div float - I don't want to hack at this.<br />
<br />
Thanks !</div>


	<div style="padding:10px">

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
				<div style="padding:10px">
				<img class="attach" src="http://www.vbforums.com/attachment.php?attachmentid=100365&amp;stc=1&amp;d=1369124817" alt="" />&nbsp;
			</div>
		</fieldset>
	

	

	

	</div>
]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>szlamany</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?722359-Want-to-get-this-DIV-to-appear-under-the-textbox-and-button-in-this-jQuery-Accordian</guid>
		</item>
		<item>
			<title>Drop down boxes and javascript - How to get the value</title>
			<link>http://www.vbforums.com/showthread.php?721641-Drop-down-boxes-and-javascript-How-to-get-the-value&amp;goto=newpost</link>
			<pubDate>Tue, 14 May 2013 18:05:54 GMT</pubDate>
			<description><![CDATA[Good Day to all!
I am working on a function that is making my head hurt. I know it's something simple so hopefully one of you great people will point me in the right direction:
I created this function:

Code:
---------
        
function getCompanyFaxAndPhone(document.getElementById('ddlCompanyName').value) {
            Case "None":
                //None Selected
                document.PayoffEForm.txtPhoneNumber.value = '';
                document.PayoffEForm.txtFaxNumber.value = '';
                break;
            Case "Alaska Escrow & Title Insurance":
                document.PayoffEForm.txtPhoneNumber.value = "somePhone";
                document.PayoffEForm.txtFaxNumber.value = "someFax";
                break;
        }
---------
 that is to be used on an onchange event of the drop down list, like so:
<select id="ddlCompanyName" name="ddlCompanyName" onchange="getCompanyFaxAndPhone()">
                    <option value="None">None</option>
                    <option value="something1">something1</option>
                    <option value="something2">something2</option>
                    <option value="something3">something3</option>
</select>

It "looks" right but when I run it, I get the "Object Expected" error on the onchange event....

help!

thanks a bunch]]></description>
			<content:encoded><![CDATA[<div>Good Day to all!<br />
I am working on a function that is making my head hurt. I know it's something simple so hopefully one of you great people will point me in the right direction:<br />
I created this function:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &nbsp; <br />
function getCompanyFaxAndPhone(document.getElementById('ddlCompanyName').value) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case &quot;None&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //None Selected<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.PayoffEForm.txtPhoneNumber.value = '';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.PayoffEForm.txtFaxNumber.value = '';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case &quot;Alaska Escrow &amp; Title Insurance&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.PayoffEForm.txtPhoneNumber.value = &quot;somePhone&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; document.PayoffEForm.txtFaxNumber.value = &quot;someFax&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div> that is to be used on an onchange event of the drop down list, like so:<br />
&lt;select id=&quot;ddlCompanyName&quot; name=&quot;ddlCompanyName&quot; onchange=&quot;getCompanyFaxAndPhone()&quot;&gt;<br />
                    &lt;option value=&quot;None&quot;&gt;None&lt;/option&gt;<br />
                    &lt;option value=&quot;something1&quot;&gt;something1&lt;/option&gt;<br />
                    &lt;option value=&quot;something2&quot;&gt;something2&lt;/option&gt;<br />
                    &lt;option value=&quot;something3&quot;&gt;something3&lt;/option&gt;<br />
&lt;/select&gt;<br />
<br />
It &quot;looks&quot; right but when I run it, I get the &quot;Object Expected&quot; error on the onchange event....<br />
<br />
help!<br />
<br />
thanks a bunch</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>ahbenshaut</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?721641-Drop-down-boxes-and-javascript-How-to-get-the-value</guid>
		</item>
		<item>
			<title><![CDATA[Tinkering with "Powered By" with poor knowledge]]></title>
			<link>http://www.vbforums.com/showthread.php?720975-Tinkering-with-quot-Powered-By-quot-with-poor-knowledge&amp;goto=newpost</link>
			<pubDate>Thu, 09 May 2013 00:04:26 GMT</pubDate>
			<description><![CDATA[Hi gurus

In a web page we may have some "Powered By" plus blablabla coming from using some extensions. Their size & wordings may not suit the overall design of things and we want to tinker with it.

Using firebug we identify how the wording comes about because of my lack of web tools knowledge has to dig all over the sub Admin folder in a Joomla site to find it. So if guru can teach me *_how to use firebug to pin point it's location fast_*, it will be great to train my learning curve.


The real question is how this:
With the little knowledge i know, there is constraints in changing the string

1st case (can change)
$version ='<a style="display: inline; visibility: visible; font-size: 10px; text-decoration: none;">Powered by Access</a>';
being use in
$body = preg_replace($regexp, "$0&nbsp;&nbsp;" . $version, $body);



HOWEVER this is not possible in some case especially when it involves a function
2nd case (CANNOT change)
function putLine()
{
$put_text = JText::_("PUTLINE_TEXT");
$html = "<div style=\"text-align:center; font-size: 10px;\">" .
htmlspecialchars($put_text) .
"&nbsp;Powered By <a href=\"http://www.access.com\">Access Corp/a></div>";
return $putLine;

being use in
if(!$mainframe->isAdmin() && $encryptConfig->get('showbacklink', 1))
$body = str_replace("</body>", $this->putLine() . "</body>", $body);
}
JResponse::setBody($body);
}


The missing knowledge in my learning curve is:
In the 2nd case, *_whatever i change it will not appear in the web page_*. In firebug if i make changes on it, it will appear in the web page for that moment.

This lack of knowledge really bugs me and to fill this void is no longer easy in this complex word. Teach me please, thanks first. :(  :eek2:]]></description>
			<content:encoded><![CDATA[<div>Hi gurus<br />
<br />
In a web page we may have some &quot;Powered By&quot; plus blablabla coming from using some extensions. Their size &amp; wordings may not suit the overall design of things and we want to tinker with it.<br />
<br />
Using firebug we identify how the wording comes about because of my lack of web tools knowledge has to dig all over the sub Admin folder in a Joomla site to find it. So if guru can teach me <b><u>how to use firebug to pin point it's location fast</u></b>, it will be great to train my learning curve.<br />
<br />
<br />
The real question is how this:<br />
With the little knowledge i know, there is constraints in changing the string<br />
<br />
1st case (can change)<br />
$version ='&lt;a style=&quot;display: inline; visibility: visible; font-size: 10px; text-decoration: none;&quot;&gt;Powered by Access&lt;/a&gt;';<br />
being use in<br />
$body = preg_replace($regexp, &quot;$0&amp;nbsp;&amp;nbsp;&quot; . $version, $body);<br />
<br />
<br />
<br />
HOWEVER this is not possible in some case especially when it involves a function<br />
2nd case (CANNOT change)<br />
function putLine()<br />
{<br />
$put_text = JText::_(&quot;PUTLINE_TEXT&quot;);<br />
$html = &quot;&lt;div style=\&quot;text-align:center; font-size: 10px;\&quot;&gt;&quot; .<br />
htmlspecialchars($put_text) .<br />
&quot;&amp;nbsp;Powered By &lt;a href=\&quot;http://www.access.com\&quot;&gt;Access Corp/a&gt;&lt;/div&gt;&quot;;<br />
return $putLine;<br />
<br />
being use in<br />
if(!$mainframe-&gt;isAdmin() &amp;&amp; $encryptConfig-&gt;get('showbacklink', 1))<br />
$body = str_replace(&quot;&lt;/body&gt;&quot;, $this-&gt;putLine() . &quot;&lt;/body&gt;&quot;, $body);<br />
}<br />
JResponse::setBody($body);<br />
}<br />
<br />
<br />
The missing knowledge in my learning curve is:<br />
In the 2nd case, <b><u>whatever i change it will not appear in the web page</u></b>. In firebug if i make changes on it, it will appear in the web page for that moment.<br />
<br />
This lack of knowledge really bugs me and to fill this void is no longer easy in this complex word. Teach me please, thanks first. :(  :eek2:</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>FuzMic</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?720975-Tinkering-with-quot-Powered-By-quot-with-poor-knowledge</guid>
		</item>
		<item>
			<title>I just wanna know if this is okay to have as a Webpage for my Programming Service???</title>
			<link>http://www.vbforums.com/showthread.php?720547-I-just-wanna-know-if-this-is-okay-to-have-as-a-Webpage-for-my-Programming-Service&amp;goto=newpost</link>
			<pubDate>Sun, 05 May 2013 06:05:20 GMT</pubDate>
			<description><![CDATA[I am writing this Thread to know if this is okay to have as a small business Webpage??? Please post your comments, I like the feedback. Also it's a work in progress, if you can tell that... !! Click Here !! (http://www.theimp.zxq.net/)]]></description>
			<content:encoded><![CDATA[<div>I am writing this Thread to know if this is okay to have as a small business Webpage??? Please post your comments, I like the feedback. Also it's a work in progress, if you can tell that... <a rel="nofollow" href="http://www.theimp.zxq.net/" target="_blank">!! Click Here !!</a></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>ThEiMp</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?720547-I-just-wanna-know-if-this-is-okay-to-have-as-a-Webpage-for-my-Programming-Service</guid>
		</item>
		<item>
			<title><![CDATA[HTML 4 & HTMl 5]]></title>
			<link>http://www.vbforums.com/showthread.php?720471-HTML-4-amp-HTMl-5&amp;goto=newpost</link>
			<pubDate>Sat, 04 May 2013 10:41:26 GMT</pubDate>
			<description><![CDATA[Recently, I have heard about HTML 5 from one of my friend. I am not understanding why HTML has changed version. What is the difference between HTML 4 & HTML 5? Is there any new features in HTML 5? Please inform me. I Googled but not understood. Describe the details here in an easy way. 

Thanks in advance.]]></description>
			<content:encoded><![CDATA[<div>Recently, I have heard about HTML 5 from one of my friend. I am not understanding why HTML has changed version. What is the difference between HTML 4 &amp; HTML 5? Is there any new features in HTML 5? Please inform me. I Googled but not understood. Describe the details here in an easy way. <br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>pauldmitchell13</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?720471-HTML-4-amp-HTMl-5</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] What is available for graphing?]]></title>
			<link>http://www.vbforums.com/showthread.php?720145-RESOLVED-What-is-available-for-graphing&amp;goto=newpost</link>
			<pubDate>Wed, 01 May 2013 22:26:39 GMT</pubDate>
			<description>I want to do some simple bar graphs - what can I use to do this.  Any libraries - jQuery related maybe...

Thanks!</description>
			<content:encoded><![CDATA[<div>I want to do some simple bar graphs - what can I use to do this.  Any libraries - jQuery related maybe...<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>szlamany</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?720145-RESOLVED-What-is-available-for-graphing</guid>
		</item>
		<item>
			<title>alert is not appearing</title>
			<link>http://www.vbforums.com/showthread.php?719919-alert-is-not-appearing&amp;goto=newpost</link>
			<pubDate>Tue, 30 Apr 2013 07:56:46 GMT</pubDate>
			<description><![CDATA[hello to every one 

I have following code and it simple example of timer 


Code:
---------
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Paper.aspx.cs" Inherits="JQueryAjax.Paper" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript">
    
    function myFunction()
{
setTimeout(function(){alert("Hello")},3000);
}

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <p>Click the button to wait 3 seconds, then alert "Hello".</p>
<button onclick="myFunction()">Try it</button>

    </div>
    </form>
</body>
</html>
---------
and it should appear alert after 3 seconds but this does not happening .. any help]]></description>
			<content:encoded><![CDATA[<div>hello to every one <br />
<br />
I have following code and it simple example of timer <br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;Paper.aspx.cs&quot; Inherits=&quot;JQueryAjax.Paper&quot; %&gt;<br />
<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &gt;<br />
&lt;head runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;title&gt;Untitled Page&lt;/title&gt;<br />
&nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; function myFunction()<br />
{<br />
setTimeout(function(){alert(&quot;Hello&quot;)},3000);<br />
}<br />
<br />
&nbsp; &nbsp; &lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&nbsp; &nbsp; &lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;<br />
&nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &lt;p&gt;Click the button to wait 3 seconds, then alert &quot;Hello&quot;.&lt;/p&gt;<br />
&lt;button onclick=&quot;myFunction()&quot;&gt;Try it&lt;/button&gt;<br />
<br />
&nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code><hr />
</div>and it should appear alert after 3 seconds but this does not happening .. any help</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>ERUM</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?719919-alert-is-not-appearing</guid>
		</item>
		<item>
			<title><![CDATA[[RESOLVED] checkboxlist value]]></title>
			<link>http://www.vbforums.com/showthread.php?719765-RESOLVED-checkboxlist-value&amp;goto=newpost</link>
			<pubDate>Mon, 29 Apr 2013 12:58:48 GMT</pubDate>
			<description><![CDATA[Hi, 

I'm trying to get the .value as well as the .text value of each item in the checboxlist.

The problem i'm having is, i'm only able to get the checboxlist.item[i].text data but not the checboxlist.item[i].value data.

I tried the following code but both gives back the .text data.

HTML:
---------
$(document).ready(function () {

                                  $('.checkbox label').each(function () {
                                  
                                   
                                    alert($(this).parent().children("label").text());
                                    alert($(this).parent().children("label").html());

                                                                        
                                  });
                              });
---------


This what my checkbox list looks like



HTML:
---------
    <asp:CheckBoxList ID="CheckBoxList1" runat="server" CssClass="checkbox">
        <asp:ListItem Value="ABC">hi1</asp:ListItem>
        <asp:ListItem Value="CDE">hi2</asp:ListItem>
        <asp:ListItem Value="ACE">hi3</asp:ListItem>
        <asp:ListItem Value="ABD">hi4</asp:ListItem>
    </asp:CheckBoxList>
---------
Thanks]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I'm trying to get the .value as well as the .text value of each item in the checboxlist.<br />
<br />
The problem i'm having is, i'm only able to get the checboxlist.item[i].text data but not the checboxlist.item[i].value data.<br />
<br />
I tried the following code but both gives back the .text data.<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code">$(document).ready(function () {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $('.checkbox label').each(function () {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert($(this).parent().children(&quot;label&quot;).text());<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert($(this).parent().children(&quot;label&quot;).html());<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</code><hr />
</div><br />
<br />
This what my checkbox list looks like<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; <span style="color:#000080">&lt;asp:CheckBoxList ID=<span style="color:#0000FF">&quot;CheckBoxList1&quot;</span> runat=<span style="color:#0000FF">&quot;server&quot;</span> CssClass=<span style="color:#0000FF">&quot;checkbox&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;asp:ListItem Value=<span style="color:#0000FF">&quot;ABC&quot;</span>&gt;</span>hi1<span style="color:#000080">&lt;/asp:ListItem&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;asp:ListItem Value=<span style="color:#0000FF">&quot;CDE&quot;</span>&gt;</span>hi2<span style="color:#000080">&lt;/asp:ListItem&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;asp:ListItem Value=<span style="color:#0000FF">&quot;ACE&quot;</span>&gt;</span>hi3<span style="color:#000080">&lt;/asp:ListItem&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;asp:ListItem Value=<span style="color:#0000FF">&quot;ABD&quot;</span>&gt;</span>hi4<span style="color:#000080">&lt;/asp:ListItem&gt;</span><br />
&nbsp; &nbsp; <span style="color:#000080">&lt;/asp:CheckBoxList&gt;</span></code><hr />
</div>Thanks</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>met0555</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?719765-RESOLVED-checkboxlist-value</guid>
		</item>
		<item>
			<title>Adapt flashplayer video playlist to use thumbnails</title>
			<link>http://www.vbforums.com/showthread.php?719635-Adapt-flashplayer-video-playlist-to-use-thumbnails&amp;goto=newpost</link>
			<pubDate>Sat, 27 Apr 2013 20:13:51 GMT</pubDate>
			<description><![CDATA[Hi

I put the shockwave-flash player in a function so I could have a drop-down video playlist [see CODE]

I am trying to create a video playlist with thumbnails that link to each video, something like

     <a onclick="PlayIt('media1/BuckBunny.mp4')">

     <img src="media1/BigBuckBunny_th.png" ></a>

     . . . 

     <a onclick="PlayIt('media1/Sintel.mp4')">

     <img src="media1/Sintel_th.png" ></a>


But the link opens a new html page with the flashplayer and does not play the video 

The SELECT Option value technique works

How can I adapt the code to create thumbnail links that do not open a new html page and will play the video based on the thumbnail chosen?

TIA



Code:
---------
      <!DOCTYPE HTML>
        <html>
	<head>

	</head>
	<body>
	<div>
	<SPAN id=video1>
	<object width="768" height="452" style="margin-left: 8px" >
	</object>
	</SPAN>
	</div>

	<div>

<SELECT id=vid onchange=PlayIt() size=1 name="vid" style="width: 768px; font-family: sans-serif; font-size: 1.2em; color:#C0C0C0; height:1.4em; background-color:#000000;">
           <option value="">-- Please Select Video File --</option>
           <option value=media1/BuckBunny.mp4>. . Big Buck Bunny </option>
	<option value=media1/ElephantsDream.mp4>. . Elephants Dream </option>
	<option value=media1/LadyWashington.mp4>. . Lady Washington </option>
	<option value=media1/Sintel.mp4>. . Sintel </option>
	<option value=media1/TearsofSteel.mp4>. . Tears of Steel </option>
	</SELECT>

	</div>

<script language="javascript" type="text/javascript">
function PlayIt(){
document.getElementById("video1").innerHTML='<object width="768" height="452" '
+'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '
+'type="application/x-shockwave-flash">'
+'<param name="movie" value="player50.swf">'
+'<param name="allowfullscreen" value="true" />'
+'<param name="flashvars" value="file='+document.getElementById('vid').value
+'&backcolor=000000&frontcolor=ffffff&autostart=true" />'
+'<embed type="application/x-shockwave-flash" width="768" height="452" src="player50.swf" allowfullscreen="true" flashvars="file='+document.getElementById('vid').value+'&autostart=true&backcolor=000000&frontcolor=ffffff" >'
+'</embed>'
+'</object>'
}
</script>

</body>
<html>
---------
]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I put the shockwave-flash player in a function so I could have a drop-down video playlist [see CODE]<br />
<br />
I am trying to create a video playlist with thumbnails that link to each video, something like<br />
<br />
     &lt;a onclick=&quot;PlayIt('media1/BuckBunny.mp4')&quot;&gt;<br />
<br />
     &lt;img src=&quot;media1/BigBuckBunny_th.png&quot; &gt;&lt;/a&gt;<br />
<br />
     . . . <br />
<br />
     &lt;a onclick=&quot;PlayIt('media1/Sintel.mp4')&quot;&gt;<br />
<br />
     &lt;img src=&quot;media1/Sintel_th.png&quot; &gt;&lt;/a&gt;<br />
<br />
<br />
But the link opens a new html page with the flashplayer and does not play the video <br />
<br />
The SELECT Option value technique works<br />
<br />
How can I adapt the code to create thumbnail links that do not open a new html page and will play the video based on the thumbnail chosen?<br />
<br />
TIA<br />
<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &lt;!DOCTYPE HTML&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;html&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;head&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/head&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;body&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;SPAN id=video1&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;object width=&quot;768&quot; height=&quot;452&quot; style=&quot;margin-left: 8px&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/object&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/SPAN&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;div&gt;<br />
<br />
&lt;SELECT id=vid onchange=PlayIt() size=1 name=&quot;vid&quot; style=&quot;width: 768px; font-family: sans-serif; font-size: 1.2em; color:#C0C0C0; height:1.4em; background-color:#000000;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;option value=&quot;&quot;&gt;-- Please Select Video File --&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &lt;option value=media1/BuckBunny.mp4&gt;. . Big Buck Bunny &lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=media1/ElephantsDream.mp4&gt;. . Elephants Dream &lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=media1/LadyWashington.mp4&gt;. . Lady Washington &lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=media1/Sintel.mp4&gt;. . Sintel &lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=media1/TearsofSteel.mp4&gt;. . Tears of Steel &lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/SELECT&gt;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />
<br />
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br />
function PlayIt(){<br />
document.getElementById(&quot;video1&quot;).innerHTML='&lt;object width=&quot;768&quot; height=&quot;452&quot; '<br />
+'classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; '<br />
+'type=&quot;application/x-shockwave-flash&quot;&gt;'<br />
+'&lt;param name=&quot;movie&quot; value=&quot;player50.swf&quot;&gt;'<br />
+'&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot; /&gt;'<br />
+'&lt;param name=&quot;flashvars&quot; value=&quot;file='+document.getElementById('vid').value<br />
+'&amp;backcolor=000000&amp;frontcolor=ffffff&amp;autostart=true&quot; /&gt;'<br />
+'&lt;embed type=&quot;application/x-shockwave-flash&quot; width=&quot;768&quot; height=&quot;452&quot; src=&quot;player50.swf&quot; allowfullscreen=&quot;true&quot; flashvars=&quot;file='+document.getElementById('vid').value+'&amp;autostart=true&amp;backcolor=000000&amp;frontcolor=ffffff&quot; &gt;'<br />
+'&lt;/embed&gt;'<br />
+'&lt;/object&gt;'<br />
}<br />
&lt;/script&gt;<br />
<br />
&lt;/body&gt;<br />
&lt;html&gt;</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>wiseant</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?719635-Adapt-flashplayer-video-playlist-to-use-thumbnails</guid>
		</item>
		<item>
			<title>JPG that gets live data from a Webpage</title>
			<link>http://www.vbforums.com/showthread.php?719387-JPG-that-gets-live-data-from-a-Webpage&amp;goto=newpost</link>
			<pubDate>Thu, 25 Apr 2013 21:31:11 GMT</pubDate>
			<description><![CDATA[I'm just wondering if there is any way to create a JPG file that loads data from the Web. This would allow me to do things like upload a JPG file that shows live data on a Website where the data I want to show is impossible to show any other way. For example, suppose I want to show a random picture on a Website, but I can only upload one picture at a time. In this case, having one JPG file that tells the computer to load a PHP page that then returns any one picture would be useful.]]></description>
			<content:encoded><![CDATA[<div>I'm just wondering if there is any way to create a JPG file that loads data from the Web. This would allow me to do things like upload a JPG file that shows live data on a Website where the data I want to show is impossible to show any other way. For example, suppose I want to show a random picture on a Website, but I can only upload one picture at a time. In this case, having one JPG file that tells the computer to load a PHP page that then returns any one picture would be useful.</div>

]]></content:encoded>
			<category domain="http://www.vbforums.com/forumdisplay.php?11-XML-HTML-Javascript-Web-and-CSS">XML, HTML, Javascript, Web and CSS</category>
			<dc:creator>moonman239</dc:creator>
			<guid isPermaLink="true">http://www.vbforums.com/showthread.php?719387-JPG-that-gets-live-data-from-a-Webpage</guid>
		</item>
	</channel>
</rss>
