anyone can help?
thank you very much.
User Profile
Collapse
-
Shiny Knob Control with jQuery add button control
http://tutorialzine.co m/2011/11/pretty-switches-css3-jquery/
regarding above tutorial "Shiny Knob Control with jQuery and CSS3".
I would like to add 3 button so beside to use mouse to scroll the knob, i can just click that 3 button to let it scroll to a degree which i want.
such as mute(0 degree), mid(180 degree) and max(360 degree).
Please help.
thanks. -
perl scan files and do counting for regex expression matches
i use below try to search from "search.txt " and find any string which match the regex expression i listed from file "keywords.t xt", however, it fail. if i put keywords like
keyword1
keyword2
then it will works and display line number and keyword, but if use regex expression instead, it won't works. please help.
actually i want to run the perl script and do a counting for number... -
perhapscwk started a topic Error in TabPage control, Object reference not set to an instance of an objectin C SharpError in TabPage control, Object reference not set to an instance of an object
I use below code to find the combo box controls by its name "cboseltype 1" (The reason i do this is because the 1 of the name is determine by the button, so button 1 will find cboseltype1, button 2 will find cboseltype2)
It works when this combo box and button is placed inside the form but it not works when placed inside the Tabcontrol
under any TabPage1 or TabTage2, it return an error "Object reference not set... -
C# run another socket connect before the first call finish
I write a socket connect function, I would like to have 2 button for 2 different connection, once the first IP/port is scanning, I can click another button to start the second IP/port scan, however, it looks like C# always need to wait until the first call to finish.
Code:Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); // Connect using a timeout (5 seconds)
-
c# .NET, generate a table show data with one column support html format
c# .NET, generate a table show data with one column support html format?
currently i used the webbrowser control, however, it have some limitation as I also require one of the column have
an action button.
so which control i should use? -
PHP preg_replace to C#
Below in PHP, how to change it to C#??
Code:$text = preg_replace("/\b($word)\b/i", '<span class="highlight_word">\1</span>', $text);
-
C# .NET windows form application (store rest API authenticate)?
i use below to authenticate a application thru REST API
(click button1).
It success, however, after that, I click button2 and
want to get data thru button 2, but it still return me 401 but I have authenticate thru button 1 already.
how to store the authenticate to C# .net (windows form application)?
below is info from the rest api manual,
Client sends a valid Basic Authentication header to the authentication... -
Ajax not able to save text with "%" and "&"
Ajax not able to save text with "%" and "&".
When text like "abc&123", once I click save, can save
"abc" only, all words after abc are not saved.
When text like "%", it will show an ERROR message
say xxx.php not found.
Code as below (xxx.js)..pleas e help. thanks.
Code:note=document.getElementById("note").value;
-
I have amended my code and my questions, please help.
thanks.Leave a comment:
-
access varible value from a function in a class
Inside the function Header, I want to display the logo and the variable $this->test , but finally my PDF file can show the logo only.
please help. Thanks.
Code:require_once('../config/lang/eng.php'); require_once('../tcpdf.php'); [B]$test="test 1"; [/B] // Extend the TCPDF class to create custom Header and Footer class MYPDF extends TCPDF { //Page header public function
-
iframe display specific vertical position of the content
is there anyway can use a iframe, and when the page load,
the iframe content auto scroll to specific vertical location(such as the center of the whole page) of the
page. -
Is there a simple PDF class that converts HTML output pdf file?
Code:$pdf->Cell(10,7,'test test test test test',1,0,'L');
it seem fpdf quite difficult to use, any simple pdf class
which able to use simple code like html to output pdf file? use html to draw a table seems much more easier than fpdf. -
I need a API/class for my PHP site to communicate with Salesforce
I need a API/class for my PHP site to communicate with Salesforce.
Any good suggestion? -
use loop...
table field store as array
variable store as array.Leave a comment:
-
suggestion as below.
each criteria need one more row as below
Code:$sql = "select * from table where id=xxx"; if ($criteria1){ $sql .= " and criteria1 like \"%$criteria1%\""; } . . . if ($criteria15){ $sql .= " and criteria15 like \"%$criteria15%\""; }
Leave a comment:
-
perhapscwk replied to Error: the xajax Javascript component could not be included. Perhaps the URL is incorin PHPplease try
Code:require_once("xampp/htdocs/xajax_core/xajax.inc.php");
Leave a comment:
-
all post variable with some special character in script need to replaced by xxx
Code:url = url.replace(/#/g, '%23').replace(/"/g, '%27').replace(/!/g, '%21').replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/\*/g, '%2A').replace(/\+/g, '%2B').replace(/~/g, '%7E');
Leave a comment:
-
use below instead
Code:<?php $xml = "<?xml version='1.0' encoding='utf-8'?> <languages> <languages>test".print_r($rs)."</languages> </languages>"; echo $xml; ?>
Leave a comment:
No activity results to display
Show More
Leave a comment: